:root {
  --ink: #102033;
  --muted: #5f7188;
  --navy: #071d34;
  --blue: #0f5ea8;
  --blue-2: #1882c5;
  --teal: #18a7a5;
  --surface: #ffffff;
  --soft: #f4f8fc;
  --line: #dce7f2;
  --shadow: 0 18px 50px rgba(12, 42, 71, 0.12);
  --radius: 8px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  background: var(--surface);
}

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

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

p {
  margin: 0;
  color: var(--muted);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.12;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.35rem, 5vw, 4.8rem);
  max-width: 920px;
}

h2 {
  font-size: clamp(2rem, 3vw, 3.2rem);
}

h3 {
  font-size: 1.25rem;
}

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  color: #fff;
  background: var(--navy);
  border-radius: var(--radius);
}

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

.topbar {
  color: #dbeaf6;
  background: var(--navy);
  font-size: 0.9rem;
}

.topbar__inner,
.nav__inner,
.container,
.footer__inner {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

.topbar__inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
}

.topbar__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.topbar__link svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  color: #9fe9e6;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(220, 231, 242, 0.9);
  backdrop-filter: blur(14px);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 136px;
  height: auto;
}

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}

.nav__toggle span,
.nav__toggle::before,
.nav__toggle::after {
  display: block;
  width: 20px;
  height: 2px;
  content: "";
  background: currentColor;
  border-radius: 999px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav__toggle {
  gap: 4px;
  flex-direction: column;
}

.nav__toggle.is-open span {
  opacity: 0;
}

.nav__toggle.is-open::before {
  transform: translateY(6px) rotate(45deg);
}

.nav__toggle.is-open::after {
  transform: translateY(-6px) rotate(-45deg);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav__links a {
  padding: 0.65rem 0.72rem;
  color: #31445a;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: var(--radius);
  transition: color 180ms ease, background 180ms ease;
}

.nav__links a:hover,
.nav__links a:focus,
.nav__links a.is-active {
  color: var(--blue);
  background: #eef6fc;
  outline: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 46px;
  padding: 0.78rem 1.1rem;
  color: #fff;
  font-weight: 800;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--blue);
  box-shadow: 0 12px 30px rgba(15, 94, 168, 0.22);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus {
  transform: translateY(-2px);
  background: #0b4f90;
  box-shadow: 0 18px 34px rgba(15, 94, 168, 0.28);
  outline: none;
}

.button__icon {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}

.button--ghost {
  color: var(--blue);
  background: #fff;
  border-color: var(--line);
  box-shadow: none;
}

.button--ghost:hover,
.button--ghost:focus {
  color: var(--navy);
  background: #eef6fc;
  box-shadow: none;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4.2rem, 8vw, 7.5rem) 0 4rem;
  background:
    linear-gradient(120deg, rgba(7, 29, 52, 0.96), rgba(15, 94, 168, 0.82)),
    url("../img/industry-construction-cranes.jpg") center / cover,
    radial-gradient(circle at 84% 22%, rgba(24, 167, 165, 0.32), transparent 31%);
}

.hero::after {
  position: absolute;
  inset: auto -8rem -14rem auto;
  width: 42rem;
  height: 42rem;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(280px, 0.86fr);
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: center;
}

.hero h1,
.hero p {
  color: #fff;
}

.hero__eyebrow,
.eyebrow {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero__eyebrow {
  color: #9fe9e6;
}

.hero__lead {
  max-width: 760px;
  margin-top: 1.4rem;
  color: #dceaf7;
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.hero__panel {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  backdrop-filter: blur(16px);
}

.hero-card {
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
}

.hero-card strong {
  display: block;
  color: var(--navy);
  font-size: 1.05rem;
}

.hero-card span {
  display: block;
  margin-top: 0.45rem;
  color: var(--muted);
}

.hero-metric {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
}

.hero-metric b {
  font-size: 1.8rem;
}

.section {
  padding: clamp(4rem, 7vw, 6rem) 0;
}

.section--soft {
  background: var(--soft);
}

.section--navy {
  color: #fff;
  background: var(--navy);
}

.section--navy h2,
.section--navy h3,
.section--navy p {
  color: #fff;
}

.section__head {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.75fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}

.section__head p {
  font-size: 1.03rem;
}

.grid {
  display: grid;
  gap: 1.25rem;
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.card {
  height: 100%;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 34px rgba(13, 47, 78, 0.07);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: #c4d8eb;
  box-shadow: var(--shadow);
}

.card__icon {
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 1.1rem;
  color: var(--blue);
  background: #eaf5fc;
  border-radius: var(--radius);
}

.card__icon svg {
  width: 25px;
  height: 25px;
}

.card h3 {
  margin-bottom: 0.7rem;
}

.card ul,
.feature-list,
.clean-list {
  padding: 0;
  margin: 1rem 0 0;
  list-style: none;
}

.card li,
.feature-list li,
.clean-list li {
  position: relative;
  padding-left: 1.4rem;
  margin-top: 0.55rem;
  color: var(--muted);
}

.card li::before,
.feature-list li::before,
.clean-list li::before {
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  content: "";
  background: var(--teal);
  border-radius: 50%;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1.05fr);
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: center;
}

.split__visual {
  display: grid;
  gap: 1rem;
}

.image-card {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  margin: 0;
  background: var(--navy);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.image-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.image-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 42%, rgba(7, 29, 52, 0.78));
}

.image-card__caption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1;
  color: #fff;
  font-weight: 800;
}

.visual-band {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.visual-band img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.visual-band::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(7, 29, 52, 0.72), rgba(7, 29, 52, 0.12));
}

.visual-band__content {
  position: absolute;
  left: clamp(1.25rem, 4vw, 2rem);
  bottom: clamp(1.25rem, 4vw, 2rem);
  z-index: 1;
  max-width: 560px;
}

.visual-band__content h2,
.visual-band__content p {
  color: #fff;
}

.visual-band__content p {
  margin-top: 0.75rem;
}

.statement {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.statement p {
  margin-top: 1rem;
  font-size: 1.08rem;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.value-pill {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 1rem;
  color: var(--ink);
  font-weight: 800;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.value-pill__icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--blue);
  background: #eaf5fc;
  border-radius: var(--radius);
}

.value-pill__icon svg {
  width: 18px;
  height: 18px;
}

.values-showcase {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.value-tile {
  display: grid;
  gap: 0.95rem;
  align-content: start;
  min-height: 148px;
  padding: 1.25rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 34px rgba(13, 47, 78, 0.07);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.value-tile:hover {
  transform: translateY(-4px);
  border-color: #c4d8eb;
  box-shadow: var(--shadow);
}

.value-tile__icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--blue);
  background: #eaf5fc;
  border-radius: var(--radius);
}

.value-tile__icon svg {
  width: 24px;
  height: 24px;
}

.value-tile strong {
  color: var(--ink);
  line-height: 1.25;
}

.page-hero {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  color: #fff;
  background: linear-gradient(120deg, var(--navy), #0d4b82);
}

.page-hero h1,
.page-hero p {
  color: #fff;
}

.page-hero p {
  max-width: 780px;
  margin-top: 1rem;
  color: #dceaf7;
  font-size: 1.12rem;
}

.timeline {
  display: grid;
  position: relative;
  gap: 1.25rem;
}

.timeline::before {
  position: absolute;
  top: 2rem;
  bottom: 2rem;
  left: 44px;
  width: 2px;
  content: "";
  background: linear-gradient(180deg, var(--blue), var(--teal));
  opacity: 0.35;
}

.timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
  padding: 1.35rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 34px rgba(13, 47, 78, 0.07);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.timeline__item:hover {
  transform: translateY(-3px);
  border-color: #c4d8eb;
  box-shadow: var(--shadow);
}

.timeline__marker {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.75rem;
  justify-items: center;
}

.timeline__number {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  color: #fff;
  font-weight: 900;
  background: var(--blue);
  border-radius: var(--radius);
  box-shadow: 0 14px 28px rgba(15, 94, 168, 0.22);
}

.timeline__icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--blue);
  background: #eaf5fc;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.timeline__icon svg {
  width: 21px;
  height: 21px;
}

.timeline__content {
  display: grid;
  gap: 0.55rem;
  padding-top: 0.15rem;
}

.timeline__content h2 {
  font-size: clamp(1.3rem, 2vw, 1.75rem);
}

.timeline__label {
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.project-card {
  display: grid;
  gap: 1rem;
  align-content: start;
  min-height: 100%;
  padding: 1.45rem;
  background:
    linear-gradient(180deg, rgba(234, 245, 252, 0.88), rgba(255, 255, 255, 0) 150px),
    #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 34px rgba(13, 47, 78, 0.07);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: #c4d8eb;
  box-shadow: var(--shadow);
}

.project-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.project-card__icon {
  display: grid;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  place-items: center;
  color: #fff;
  background: var(--blue);
  border-radius: var(--radius);
  box-shadow: 0 14px 28px rgba(15, 94, 168, 0.2);
}

.project-card__icon svg {
  width: 25px;
  height: 25px;
}

.project-card h2 {
  font-size: 1.22rem;
  line-height: 1.25;
}

.project-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}

.tag {
  display: inline-flex;
  padding: 0.28rem 0.55rem;
  color: #0b4f90;
  font-weight: 800;
  font-size: 0.78rem;
  background: #eaf5fc;
  border-radius: 999px;
}

.project-card__client {
  display: grid;
  gap: 0.25rem;
  align-self: end;
  padding: 0.9rem 1rem;
  background: var(--soft);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
}

.project-card__client span {
  color: var(--blue);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-card__client strong {
  color: var(--ink);
  line-height: 1.35;
}

.personnel-grid {
  display: grid;
  gap: 1.5rem;
}

.person-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: clamp(1.25rem, 4vw, 2.25rem);
  align-items: start;
  padding: clamp(1rem, 3vw, 1.5rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.person-card__media {
  position: sticky;
  top: 110px;
  overflow: hidden;
  background: var(--soft);
  border-radius: var(--radius);
}

.person-card__media img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.person-card__body {
  display: grid;
  gap: 1rem;
  padding: 0.35rem 0;
}

.person-card__body h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.person-card__highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 1rem 0;
}

.person-card__highlights span {
  display: inline-flex;
  padding: 0.4rem 0.65rem;
  color: #0b4f90;
  font-weight: 800;
  font-size: 0.82rem;
  background: #eaf5fc;
  border: 1px solid #d5e8f5;
  border-radius: 999px;
}

.value-prop-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 5vw, 3rem);
  align-items: center;
}

.value-prop-visual {
  display: grid;
  place-items: center;
  min-height: 420px;
  margin: 0;
  padding: clamp(1rem, 4vw, 2rem);
  background:
    linear-gradient(135deg, rgba(7, 29, 52, 0.95), rgba(15, 94, 168, 0.84)),
    var(--navy);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.value-prop-visual img {
  width: min(100%, 560px);
  height: auto;
  filter: drop-shadow(0 22px 34px rgba(0, 0, 0, 0.22));
}

.value-prop-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.value-prop-card {
  position: relative;
  min-height: 100%;
  padding: 1.35rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 34px rgba(13, 47, 78, 0.07);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.value-prop-card:hover {
  transform: translateY(-4px);
  border-color: #c4d8eb;
  box-shadow: var(--shadow);
}

.value-prop-card span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 0.95rem;
  color: #fff;
  font-weight: 900;
  background: var(--blue);
  border-radius: var(--radius);
}

.value-prop-card h3 {
  margin-bottom: 0.65rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: 1.5rem;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

.contact-item {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 0.9rem;
  align-items: start;
  padding: 1.15rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-item__icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--blue);
  background: #eaf5fc;
  border-radius: var(--radius);
}

.contact-item__icon svg {
  width: 23px;
  height: 23px;
}

.contact-item strong {
  display: block;
  margin-bottom: 0.25rem;
}

.form {
  display: grid;
  gap: 1rem;
  padding: clamp(1.25rem, 4vw, 2rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.map-card {
  overflow: hidden;
  min-height: 420px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.map-card iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

.form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

label {
  display: grid;
  gap: 0.45rem;
  color: var(--ink);
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  padding: 0.85rem 0.95rem;
  color: var(--ink);
  background: #fbfdff;
  border: 1px solid #cfddea;
  border-radius: var(--radius);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(24, 130, 197, 0.16);
  outline: none;
}

.cta {
  padding: clamp(2rem, 5vw, 3rem);
  color: #fff;
  background: linear-gradient(120deg, var(--navy), var(--blue));
  border-radius: var(--radius);
}

.cta h2,
.cta p {
  color: #fff;
}

.cta p {
  margin-top: 0.8rem;
  max-width: 720px;
}

.cta__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.site-footer {
  color: #c7d6e6;
  background: #06182c;
}

.footer__inner {
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) repeat(3, minmax(0, 0.8fr));
  gap: 2rem;
  padding: 3.5rem 0;
}

.footer__inner img {
  width: 150px;
  height: auto;
  margin-bottom: 0.9rem;
}

.footer__inner p,
.footer__inner a {
  color: #c7d6e6;
}

.footer__inner h2,
.footer__inner h3 {
  margin-bottom: 0.85rem;
  color: #fff;
  font-size: 1rem;
}

.footer__links {
  display: grid;
  gap: 0.48rem;
}

.footer__inner > div:nth-child(3) .footer__links a,
.footer__inner > div:nth-child(4) .footer__links a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer__inner > div:nth-child(3) .footer__links a::before,
.footer__inner > div:nth-child(4) .footer__links a::before {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  content: "";
  background-color: #9fe9e6;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
}

.footer__inner > div:nth-child(3) .footer__links a:nth-child(1)::before {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M3 21h18v-2h-2V7.8L12 3 5 7.8V19H3v2Zm4-2V8.9l5-3.4 5 3.4V19h-3v-5h-4v5H7Z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M3 21h18v-2h-2V7.8L12 3 5 7.8V19H3v2Zm4-2V8.9l5-3.4 5 3.4V19h-3v-5h-4v5H7Z'/%3E%3C/svg%3E");
}

.footer__inner > div:nth-child(3) .footer__links a:nth-child(2)::before {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M4 19V5h2v10.6l4.2-4.2 3 3L19 7.6 20.5 9l-7.2 8.4-3-3L6 18.7V19h14v2H4v-2Z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M4 19V5h2v10.6l4.2-4.2 3 3L19 7.6 20.5 9l-7.2 8.4-3-3L6 18.7V19h14v2H4v-2Z'/%3E%3C/svg%3E");
}

.footer__inner > div:nth-child(3) .footer__links a:nth-child(3)::before {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='m12 2 9 4-9 4-9-4 9-4Zm0 10 7.2-3.2L21 9.6l-9 4-9-4 1.8-.8L12 12Zm0 4 7.2-3.2 1.8.8-9 4-9-4 1.8-.8L12 16Z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='m12 2 9 4-9 4-9-4 9-4Zm0 10 7.2-3.2L21 9.6l-9 4-9-4 1.8-.8L12 12Zm0 4 7.2-3.2 1.8.8-9 4-9-4 1.8-.8L12 16Z'/%3E%3C/svg%3E");
}

.footer__inner > div:nth-child(4) .footer__links a:nth-child(1)::before {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M6.6 10.8c1.4 2.8 3.8 5.2 6.6 6.6l2.2-2.2c.3-.3.8-.4 1.2-.3 1 .3 2 .5 3.1.5.7 0 1.3.6 1.3 1.3V20c0 .7-.6 1.3-1.3 1.3C10.3 21.3 2.7 13.7 2.7 4.3 2.7 3.6 3.3 3 4 3h3.3c.7 0 1.3.6 1.3 1.3 0 1.1.2 2.1.5 3.1.1.4 0 .9-.3 1.2l-2.2 2.2Z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M6.6 10.8c1.4 2.8 3.8 5.2 6.6 6.6l2.2-2.2c.3-.3.8-.4 1.2-.3 1 .3 2 .5 3.1.5.7 0 1.3.6 1.3 1.3V20c0 .7-.6 1.3-1.3 1.3C10.3 21.3 2.7 13.7 2.7 4.3 2.7 3.6 3.3 3 4 3h3.3c.7 0 1.3.6 1.3 1.3 0 1.1.2 2.1.5 3.1.1.4 0 .9-.3 1.2l-2.2 2.2Z'/%3E%3C/svg%3E");
}

.footer__inner > div:nth-child(4) .footer__links a:nth-child(2)::before {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M4 5h16c1.1 0 2 .9 2 2v10c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V7c0-1.1.9-2 2-2Zm8 8 8-5V7l-8 5-8-5v1l8 5Z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M4 5h16c1.1 0 2 .9 2 2v10c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V7c0-1.1.9-2 2-2Zm8 8 8-5V7l-8 5-8-5v1l8 5Z'/%3E%3C/svg%3E");
}

.footer__inner > div:nth-child(4) .footer__links a:nth-child(3)::before {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M12 2a7 7 0 0 1 7 7c0 5.2-7 13-7 13S5 14.2 5 9a7 7 0 0 1 7-7Zm0 9.5A2.5 2.5 0 1 0 12 6a2.5 2.5 0 0 0 0 5.5Z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M12 2a7 7 0 0 1 7 7c0 5.2-7 13-7 13S5 14.2 5 9a7 7 0 0 1 7-7Zm0 9.5A2.5 2.5 0 1 0 12 6a2.5 2.5 0 0 0 0 5.5Z'/%3E%3C/svg%3E");
}

.footer__links a:hover,
.footer__links a:focus {
  color: #fff;
  outline: none;
}

.footer__bottom {
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  color: #aabed2;
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 920px) {
  .topbar__inner {
    flex-direction: column;
    gap: 0.25rem;
  }

  .nav__toggle {
    display: inline-flex;
  }

  .nav__links {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 0.5rem);
    display: grid;
    padding: 0.8rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .nav__links.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .hero__grid,
  .section__head,
  .split,
  .person-card,
  .value-prop-layout,
  .contact-grid,
  .cta__row {
    grid-template-columns: 1fr;
  }

  .person-card__media {
    position: static;
    max-width: 420px;
  }

  .grid--3,
  .portfolio-grid,
  .footer__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .values-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta__row {
    display: grid;
  }
}

@media (max-width: 640px) {
  .topbar {
    display: none;
  }

  .nav__inner {
    min-height: 68px;
  }

  .brand img {
    width: 116px;
  }

  .hero {
    padding-top: 3.2rem;
  }

  .hero__actions,
  .cta__row .button {
    width: 100%;
  }

  .button {
    width: 100%;
  }

  .grid--3,
  .grid--2,
  .portfolio-grid,
  .value-prop-cards,
  .value-grid,
  .values-showcase,
  .footer__inner,
  .form__row {
    grid-template-columns: 1fr;
  }

  .timeline__item {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    display: none;
  }

  .timeline__marker {
    grid-template-columns: 54px 42px;
    justify-content: start;
    justify-items: start;
    align-items: center;
  }

  .timeline__number {
    width: 54px;
    height: 54px;
  }

  .value-prop-visual {
    min-height: auto;
  }

}
