:root {
  --primary: #00b8e8;
  --primary-dark: #0096c7;
  --secondary: #2a407c;
  --secondary-deep: #283875;
  --heading: #080a0b;
  --text: #767676;
  --white: #ffffff;
  --soft: #e8f7fc;
  --cream: #e8f7fc;
  --line: #e5ebf0;
  --dark: #111111;
  --max: 1320px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 75px);
  --ff-body: "DM Sans", sans-serif;
  --ff-heading: "Outfit", sans-serif;
  --t: 0.3s ease-out;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 26px;
  font-weight: 400;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--t), background var(--t), border-color var(--t), transform var(--t); }
button, input, textarea, select { font: inherit; color: inherit; }
ul { list-style: none; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-heading);
  color: var(--heading);
  font-weight: 700;
  line-height: 1.2;
  word-break: break-word;
}

.skip {
  position: absolute; left: 12px; top: -48px; background: #000; color: #fff; padding: 8px 12px; z-index: 200;
}
.skip:focus { top: 12px; }

.container {
  width: min(var(--container), calc(100% - (var(--gutter) * 2)));
  margin: 0 auto;
}
.wrap { width: min(var(--max), calc(100% - (var(--gutter) * 2))); margin: 0 auto; }

/* ========== TOP BAR (Artima header-2 top) ========== */
.header-top {
  background: var(--heading);
  color: var(--white);
  width: 100%;
  position: relative;
  z-index: 30;
}
.header-top__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  padding: 0;
  position: relative;
}
.header-top__welcome {
  flex: 0 0 auto;
  padding: 12px 0 12px var(--gutter);
  z-index: 2;
}
.header-top__welcome p {
  color: var(--white);
  font-size: 14px;
  line-height: 20px;
  margin: 0;
}
.header-top__contacts {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex: 1;
  padding: 12px 24px;
}
.header-top__contacts::before {
  content: "";
  position: absolute;
  inset: -2px 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(1180px, 100%);
  background: var(--cream);
  clip-path: polygon(3% 0, 97% 0, 100% 100%, 0 100%);
  z-index: -1;
}
.header-top__contacts a,
.header-top__contacts span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--heading);
  font-size: 14px;
  line-height: 20px;
  position: relative;
  white-space: nowrap;
}
.header-top__contacts a:hover { color: var(--primary); }
.header-top__contacts a svg,
.header-top__contacts span svg { flex-shrink: 0; }
.header-top__contacts > *:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -21px;
  top: 50%;
  width: 1.5px;
  height: 18px;
  background: rgba(8, 10, 11, 0.12);
  transform: translateY(-50%) rotate(30deg);
}
.header-top__social {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px var(--gutter) 12px 0;
  z-index: 2;
  margin-left: auto;
}
.header-top__social a {
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  width: 18px;
  text-align: center;
}
.header-top__social a:hover { color: var(--primary); }

/* ========== MAIN HEADER ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: var(--white);
  border-bottom: 1px solid rgba(8, 10, 11, 0.04);
}
.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 90px;
  padding: 15px var(--gutter);
  gap: 24px;
}
.logo img { height: 58px; width: auto; }

.main-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex: 1;
}
.main-menu a {
  position: relative;
  font-family: var(--ff-heading);
  font-size: 16px;
  font-weight: 500;
  color: var(--heading);
  padding: 10px 18px;
  line-height: 1;
}
.main-menu a:hover { color: var(--primary); }
.main-menu a[aria-current="page"] { color: var(--primary); }
.main-menu a[aria-current="page"]::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border-radius: 50%;
  background: rgba(0, 184, 232, 0.14);
  z-index: -1;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-shrink: 0;
}
.header-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--heading);
  border: 1px solid transparent;
  border-radius: 50%;
}
.header-icon:hover {
  color: var(--primary);
  border-color: rgba(0, 184, 232, 0.35);
}
.header-icon svg { width: 18px; height: 18px; }

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle .bar-icon {
  width: 28px;
  height: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.nav-toggle .bar-icon span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--heading);
}

/* ========== BUTTONS ========== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  padding: 16px 34px;
  background: var(--primary);
  color: var(--white);
  cursor: pointer;
  font-family: var(--ff-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 23px;
  text-transform: none;
  z-index: 1;
}
.btn-header { padding: 11px 28px; }
.btn .btn-wrap {
  position: relative;
  display: inline-block;
  overflow: hidden;
}
.btn .text-one,
.btn .text-two {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  white-space: nowrap;
  transition: transform var(--t), top var(--t);
}
.btn .text-one { position: relative; }
.btn .text-two {
  position: absolute;
  top: 100%;
  left: 0;
}
.btn:hover .text-one { transform: translateY(-150%); }
.btn:hover .text-two { top: 50%; transform: translateY(-50%); }
.btn:hover { background: var(--primary-dark); }
.btn-dark { background: var(--secondary); }
.btn-dark:hover { background: var(--secondary-deep); }
.btn-light { background: var(--white); color: var(--heading); }
.btn-light .text-one,
.btn-light .text-two { color: var(--heading); }
.btn-light:hover { background: var(--soft); }
.btn-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.08); border-color: #fff; }
.btn:not(:has(.btn-wrap)):hover { filter: brightness(0.94); }

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: calc(100vh - 136px);
  min-height: 760px;
  color: var(--white);
  overflow: hidden;
  background: #0b0d10;
}
.hero-slider { position: absolute; inset: 0; }
.slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 0.9s ease; pointer-events: none;
}
.slide.is-on { opacity: 1; z-index: 1; pointer-events: auto; }
.slide img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
}
.slide::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 10, 11, 0.62) 0%, rgba(8, 10, 11, 0.28) 42%, rgba(8, 10, 11, 0.08) 100%),
    linear-gradient(180deg, rgba(8, 10, 11, 0.15) 0%, transparent 30%, rgba(8, 10, 11, 0.25) 100%);
}
.hero-copy {
  position: absolute;
  z-index: 2;
  left: var(--gutter);
  top: 50%;
  transform: translateY(-50%);
  max-width: 760px;
  padding-right: 40px;
}
.hero-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-heading);
  font-size: 24px;
  font-weight: 400;
  line-height: 34px;
  color: var(--white);
  margin-bottom: 8px;
}
.hero-subtitle svg { width: 18px; height: 18px; }
.hero h1 {
  font-size: clamp(40px, 5.2vw, 72px);
  line-height: 1.12;
  color: var(--white);
  margin: 0 0 18px;
  font-weight: 700;
  max-width: 14ch;
}
.hero-copy > p {
  max-width: 480px;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
  line-height: 26px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
}
.watch {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
}
.watch i {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  display: grid;
  place-items: center;
  transition: border-color var(--t), background var(--t);
}
.watch:hover i {
  border-color: var(--primary);
  background: rgba(0, 184, 232, 0.15);
}
.watch i::before {
  content: "";
  border-left: 12px solid #fff;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  margin-left: 3px;
}
.hero-nav {
  position: absolute;
  z-index: 3;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.hero-nav::before {
  content: "";
  position: absolute;
  top: 28px;
  bottom: 28px;
  left: 50%;
  width: 1px;
  background: rgba(255, 255, 255, 0.25);
}
.hero-nav button {
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  font-family: var(--ff-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  padding: 0;
  position: relative;
  z-index: 1;
}
.hero-nav button:hover { color: var(--primary); }

/* ========== PAGE HERO (compact inner banner) ========== */
.page-hero {
  position: relative;
  min-height: 0;
  color: #fff;
  display: grid;
  align-items: center;
  padding: 36px 0 32px;
  overflow: hidden;
  background: var(--secondary-deep);
}
.page-hero--short { padding: 22px 0 20px; }
.page-hero img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.38;
}
.page-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(8, 10, 11, 0.88) 0%, rgba(42, 64, 124, 0.72) 55%, rgba(8, 10, 11, 0.5) 100%);
}
.page-hero .wrap { position: relative; z-index: 1; max-width: 760px; }
.page-hero h1 {
  font-size: clamp(24px, 2.6vw, 32px);
  color: #fff;
  margin: 4px 0 4px;
  line-height: 1.2;
}
.page-hero p {
  color: rgba(255, 255, 255, 0.86);
  max-width: 52ch;
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
}
.crumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}
.crumbs a:hover { color: var(--primary); }

/* ========== SECTIONS ========== */
.band { padding: 64px 0; }
.page-hero + .band { padding-top: 44px; }
.band-soft { background: var(--soft); }
.band-dark { background: var(--heading); color: #fff; }
.band-dark h2, .band-dark h3, .band-dark h4 { color: #fff; }

.section-title {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px;
}
.section-title.left { text-align: left; margin-left: 0; }
.section-title .label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 12px;
}
.section-title h2 {
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.25;
  margin-bottom: 14px;
}
.section-title p { color: var(--text); margin: 0; }
.band-dark .section-title p { color: rgba(255, 255, 255, 0.68); }

/* About / intro — Artima dual media */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 70px;
  align-items: center;
}
.about-media {
  position: relative;
  min-height: 560px;
}
.about-media__main {
  width: 72%;
  height: 520px;
  object-fit: cover;
  margin-left: auto;
}
.about-media__side {
  position: absolute;
  left: 0;
  bottom: 40px;
  width: 48%;
  height: 280px;
  object-fit: cover;
  border: 10px solid var(--white);
  box-shadow: 0 20px 50px rgba(8, 10, 11, 0.12);
}
.about-badge {
  position: absolute;
  left: 8%;
  top: 18%;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--white);
  border: 1px dashed var(--primary);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 16px;
  z-index: 2;
  animation: spin 18s linear infinite;
}
.about-badge strong {
  font-family: var(--ff-heading);
  font-size: 13px;
  line-height: 1.35;
  color: var(--heading);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
@keyframes spin { to { transform: rotate(360deg); } }

.about-content .label {
  display: inline-flex;
  color: var(--primary);
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 14px;
}
.about-content h2 {
  font-size: clamp(34px, 3.6vw, 48px);
  line-height: 1.25;
  margin-bottom: 18px;
}
.about-content > p {
  margin-bottom: 24px;
  color: var(--text);
}
.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* About purpose / principles */
.purpose-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.purpose-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 28px 24px;
  min-height: 220px;
}
.purpose-card--accent {
  background: var(--secondary);
  border-color: transparent;
  color: #fff;
}
.purpose-card--accent h3,
.purpose-card--accent .purpose-card__label { color: #fff; }
.purpose-card--accent p { color: rgba(255, 255, 255, 0.8); }
.purpose-card__label {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 14px;
}
.purpose-card h3 {
  margin: 0 0 12px;
  font-size: 22px;
}
.purpose-card p {
  margin: 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.55;
}
.principles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.principle-card {
  border-top: 2px solid var(--primary);
  padding: 22px 4px 8px;
}
.principle-card .num {
  font-family: var(--ff-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 12px;
}
.principle-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
}
.principle-card p {
  margin: 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
}

.check {
  display: grid;
  gap: 14px;
  margin: 0 0 32px;
}
.check li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--heading);
  font-size: 16px;
  line-height: 1.45;
}
.check li svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--primary);
}

/* Marquee — outlined Artima ticker */
.marquee {
  overflow: hidden;
  background: var(--heading);
  padding: 36px 0;
  border-block: 1px solid rgba(255, 255, 255, 0.06);
}
.marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 30s linear infinite;
  white-space: nowrap;
}
.marquee-track span {
  font-family: var(--ff-heading);
  font-size: clamp(48px, 7vw, 90px);
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.28);
  letter-spacing: -0.02em;
}
.marquee-track span::after {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-left: 48px;
  border: 1px solid var(--primary);
  transform: rotate(45deg);
  vertical-align: middle;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Service / expert cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }

/* Figma-style image service masonry */
.services-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: 22px;
}
.service-tile {
  position: relative;
  overflow: hidden;
  color: #fff;
  min-height: 280px;
}
.service-tile:nth-child(1) { grid-row: span 2; min-height: 582px; }
.service-tile img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s ease;
}
.service-tile:hover img { transform: scale(1.07); }
.service-tile .veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8, 10, 11, 0.2) 0%, rgba(8, 10, 11, 0.45) 40%, rgba(8, 10, 11, 0.92) 100%);
}
.service-tile .body {
  position: relative; z-index: 1; height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 28px;
}
.service-tile h3 {
  margin: 0 0 8px;
  font-size: clamp(22px, 2vw, 28px);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.service-tile p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  max-width: 34ch;
}
.service-tile .btn { align-self: flex-start; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.why-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 36px 28px;
  transition: border-color var(--t), box-shadow var(--t);
}
.why-card:hover {
  border-color: var(--primary);
  box-shadow: 0 18px 40px rgba(0, 184, 232, 0.12);
}
.why-card .num {
  font-family: var(--ff-heading);
  font-size: 42px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 16px;
}
.why-card h3 { margin: 0 0 10px; font-size: 24px; }
.why-card p { margin: 0; color: var(--text); font-size: 15px; }

.expert-card {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  color: #fff;
}
.expert-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s ease;
}
.expert-card:hover img { transform: scale(1.08); }
.expert-card .veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(8, 10, 11, 0.88));
}
.expert-card .body {
  position: relative; z-index: 1; height: 100%; min-height: 360px;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 30px;
}
.expert-card h3 { margin: 0 0 8px; font-size: 26px; color: #fff; }
.expert-card p { margin: 0 0 18px; color: rgba(255, 255, 255, 0.78); font-size: 15px; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(42, 64, 124, 0.1);
  border-color: transparent;
}
.card img { width: 100%; height: 240px; object-fit: cover; }
.card-body { padding: 28px 24px; }
.card h3 { margin: 0 0 10px; font-size: 24px; }
.card p { margin: 0 0 18px; color: var(--text); font-size: 15px; }
.card .meta {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 10px;
}

/* Process */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.process article {
  background: #fff;
  border: 1px solid var(--line);
  padding: 40px 28px;
  position: relative;
  transition: border-color var(--t), box-shadow var(--t);
}
.process article:hover {
  border-color: var(--primary);
  box-shadow: 0 18px 40px rgba(0, 184, 232, 0.12);
}
.process .num {
  font-family: var(--ff-heading);
  font-size: 48px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 18px;
  opacity: 0.85;
}
.process h3 { margin: 0 0 10px; font-size: 24px; }
.process p { margin: 0; color: var(--text); font-size: 15px; }

/* CTA */
.cta-band {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 40px;
  align-items: center;
}
.cta-band h2 {
  font-size: clamp(36px, 4vw, 56px);
  margin: 0 0 14px;
  color: #fff;
}
.cta-band > div > p {
  color: rgba(255, 255, 255, 0.68);
  margin: 0 0 28px;
  max-width: 520px;
}
.cta-contacts { display: grid; gap: 18px; }
.cta-contacts div {
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.cta-contacts span {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 4px;
}
.cta-contacts a { color: #fff; font-weight: 500; font-size: 18px; }
.cta-contacts a:hover { color: var(--primary); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 48px; }
.stat {
  text-align: center;
  padding: 28px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.stat strong {
  display: block;
  font-family: var(--ff-heading);
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #fff;
}
.stat span { color: rgba(255, 255, 255, 0.6); font-size: 14px; }

/* Sidebars / jobs / blog / forms — keep functional */
.with-sidebar {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}
.with-sidebar.jobs { grid-template-columns: 300px 1fr; }
.sidebar {
  background: var(--soft);
  border: 1px solid var(--line);
  padding: 32px 28px;
  position: sticky;
  top: 110px;
}
.sidebar h3 {
  margin: 0 0 16px;
  font-size: 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.sidebar + .sidebar,
.sidebar .block + .block { margin-top: 24px; }
.side-list { display: grid; gap: 8px; }
.side-list a {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 14px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 500;
  color: var(--heading);
}
.side-list a:hover,
.side-list a[aria-current="page"] {
  border-color: var(--primary);
  color: var(--primary);
}
.side-card {
  background: var(--secondary);
  color: #fff;
  padding: 28px 24px;
  margin-top: 20px;
}
.side-card h4 { margin: 0 0 8px; font-size: 22px; color: #fff; }
.side-card p { margin: 0 0 18px; color: rgba(255, 255, 255, 0.75); font-size: 14px; }
.recent { display: grid; gap: 16px; }
.recent a { display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: center; }
.recent img { width: 72px; height: 72px; object-fit: cover; }
.recent strong { display: block; font-size: 14px; line-height: 1.35; color: var(--heading); font-weight: 600; }
.recent span { color: var(--text); font-size: 12px; }

.field { display: grid; gap: 6px; margin-bottom: 16px; font-size: 13px; color: var(--text); }
.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid #d5dee7;
  background: #fff;
  padding: 14px 16px;
  outline: none;
  transition: border-color var(--t), box-shadow var(--t);
}
.field input:hover,
.field textarea:hover,
.field select:hover { border-color: #b9c8d6; }
.field input:focus,
.field textarea:focus,
.field select:focus { border-color: var(--primary); }
.form-note { min-height: 1.2em; color: var(--primary-dark); font-size: 14px; margin-top: 8px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.alert {
  padding: 12px 16px;
  margin-bottom: 12px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 14px;
}
.alert--success { border-color: rgba(0, 184, 232, 0.35); background: rgba(0, 184, 232, 0.08); }
.alert--error { border-color: rgba(196, 60, 60, 0.35); background: rgba(196, 60, 60, 0.08); color: #8a2424; }

.job-list { display: grid; gap: 14px; }
.job-card {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(110px, 0.7fr) minmax(100px, 0.55fr) auto;
  gap: 18px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  padding: 24px 26px;
  transition: border-color var(--t), box-shadow var(--t);
}
.job-card:hover {
  border-color: var(--primary);
  box-shadow: 0 12px 30px rgba(0, 184, 232, 0.1);
}
.job-card h3 { margin: 0 0 6px; font-size: 22px; line-height: 1.25; }
.job-card p { margin: 0; color: var(--text); font-size: 14px; line-height: 1.45; }
.job-card > p { color: var(--heading); font-weight: 500; font-size: 14px; }
.badge {
  display: inline-flex;
  padding: 5px 12px;
  background: rgba(0, 184, 232, 0.12);
  color: var(--secondary);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.job-detail h2 { font-size: clamp(20px, 2.2vw, 24px); margin: 28px 0 10px; }
.job-detail > p:first-of-type { font-size: 16px; }
.job-meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; }
.blog-grid { display: grid; gap: 28px; }
.blog-card { display: grid; grid-template-columns: 300px 1fr; gap: 0; overflow: hidden; }
.blog-card img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; }
.blog-card .card-body { display: flex; flex-direction: column; justify-content: center; }
.article-hero img { width: 100%; height: 440px; object-fit: cover; margin-bottom: 28px; }
.quote {
  border-left: 3px solid var(--primary);
  padding: 8px 0 8px 20px;
  margin: 32px 0;
  font-family: var(--ff-heading);
  font-size: 26px;
  font-weight: 600;
  color: var(--heading);
  line-height: 1.4;
}
.article-meta {
  display: flex; flex-wrap: wrap; gap: 14px;
  color: var(--text); font-size: 13px; margin-bottom: 18px;
}

/* Footer */
.site-footer {
  background: var(--heading);
  color: rgba(255, 255, 255, 0.68);
  padding: 90px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.site-footer h3 {
  color: #fff;
  font-size: 16px;
  margin: 0 0 20px;
  font-family: var(--ff-heading);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}
.site-footer a:hover { color: var(--primary); }
.site-footer p { margin: 0 0 10px; font-size: 15px; }
.footer-links { display: grid; gap: 12px; font-size: 15px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 22px;
  font-size: 14px;
}
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.socials a:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.legal-copy { max-width: 760px; }
.legal-copy h2 { font-size: 28px; margin: 28px 0 8px; }
.legal-copy p, .legal-copy li { color: #555; }
.empty-state {
  padding: 48px;
  text-align: center;
  border: 1px dashed var(--line);
  color: var(--text);
  background: #fff;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 36px;
}
.section-head h2 {
  font-size: clamp(32px, 4vw, 44px);
  margin: 8px 0 0;
  line-height: 1.25;
}
.eyebrow, .label {
  color: var(--primary);
  font-size: 15px;
  font-weight: 500;
  margin: 0;
}
.serif { font-family: var(--ff-heading); }
.accent-word { color: var(--primary); }

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.split-title {
  font-size: clamp(34px, 4vw, 48px);
  margin: 0 0 18px;
  line-height: 1.2;
}
.split-media {
  width: 100%;
  height: 480px;
  object-fit: cover;
}
.split-copy .prose p { margin: 0 0 16px; }

.service-card .card-body { min-height: 210px; }
.service-card--cta {
  background: var(--soft);
  border-color: transparent;
  display: flex;
}
.service-card--cta .card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
}
.value-card .card-body { min-height: 180px; }

.form-narrow { max-width: 760px; }
.form-panel {
  background: #fff;
  border: 1px solid var(--line);
  padding: 36px 32px;
  box-shadow: 0 18px 40px rgba(42, 64, 124, 0.05);
}
.form-panel h2 {
  margin: 0 0 8px;
  font-size: clamp(28px, 3vw, 36px);
}
.form-lead {
  color: var(--text);
  margin: 0 0 24px;
  max-width: 48ch;
}
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  opacity: 0;
}
/* ========== CONTACT PAGE ========== */
.contact-band { padding-top: 40px; padding-bottom: 40px; }
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.contact-info-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 20px 18px;
  min-height: 132px;
  transition: border-color var(--t), box-shadow var(--t);
}
.contact-info-card:hover {
  border-color: rgba(0, 184, 232, 0.45);
  box-shadow: 0 14px 30px rgba(0, 184, 232, 0.08);
}
.contact-info-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: rgba(0, 184, 232, 0.1);
  margin-bottom: 14px;
}
.contact-info-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.contact-info-card p {
  margin: 0;
  color: var(--heading);
  font-size: 15px;
  line-height: 1.5;
}
.contact-info-card a:hover { color: var(--primary); }

.contact-main {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 28px;
  align-items: start;
}
.contact-side { display: grid; gap: 18px; }
.contact-side-card {
  background: var(--secondary);
  color: #fff;
  padding: 28px 24px;
}
.contact-side-card h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 22px;
}
.contact-side-card p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.55;
}
.contact-side-card a { color: #fff; }
.contact-side-card a:hover { color: var(--primary); }
.contact-side-list {
  display: grid;
  gap: 12px;
  margin: 0 0 22px;
  padding: 0;
}
.contact-side-list li {
  display: grid;
  gap: 2px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.contact-side-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-side-list span {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.contact-side-list em {
  font-style: normal;
  color: rgba(255, 255, 255, 0.9);
}
.contact-side-card--soft {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--heading);
}
.contact-side-card--soft h3 { color: var(--heading); }
.contact-side-card--soft p { color: var(--text); margin: 0; }
.contact-side-card--soft a { color: var(--primary); }

.contact-map { background: #fff; padding: 8px 0 64px; }
.contact-map__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0 16px;
}
.contact-map__head h2 {
  margin: 4px 0 0;
  font-size: clamp(22px, 2.6vw, 28px);
}
.btn-outline-dark {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--heading);
}
.btn-outline-dark .text-one,
.btn-outline-dark .text-two { color: var(--heading); }
.btn-outline-dark:hover {
  border-color: var(--primary);
  background: rgba(0, 184, 232, 0.08);
}
.contact-map__frame {
  position: relative;
  width: min(var(--max), calc(100% - (var(--gutter) * 2)));
  margin: 0 auto;
  border: 1px solid var(--line);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(0, 184, 232, 0.08), rgba(42, 64, 124, 0.1)),
    repeating-linear-gradient(0deg, transparent, transparent 27px, rgba(42, 64, 124, 0.05) 28px),
    repeating-linear-gradient(90deg, transparent, transparent 27px, rgba(42, 64, 124, 0.05) 28px),
    #e8eef8;
  box-shadow: 0 18px 40px rgba(42, 64, 124, 0.06);
}
.contact-map__canvas {
  display: block;
  width: 100%;
  height: 400px;
  z-index: 1;
}
.contact-map__canvas[data-map-failed="1"] { display: none; }
.contact-map__fallback {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 28px;
  text-align: left;
  background: linear-gradient(135deg, rgba(232, 238, 248, 0.96), rgba(210, 228, 242, 0.96));
}
.contact-map__fallback[hidden] { display: none !important; }
.contact-map__fallback strong {
  display: block;
  margin-bottom: 6px;
  color: var(--heading);
  font-size: 18px;
}
.contact-map__fallback p {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 15px;
}
.contact-map__fallback a {
  color: var(--primary);
  font-weight: 600;
}
.contact-map__pin {
  width: 22px;
  height: 22px;
  border-radius: 50% 50% 50% 0;
  background: var(--primary);
  transform: rotate(-45deg);
  box-shadow: 0 8px 18px rgba(0, 184, 232, 0.35);
  flex-shrink: 0;
}
.contact-map__frame .leaflet-container {
  font: inherit;
  background: transparent;
}
.map-embed {
  margin-top: 22px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: #fff;
}
.map-embed iframe {
  display: block;
  width: 100%;
  height: 220px;
  border: 0;
}

.legal-copy {
  max-width: 760px;
}
.section-head {
  margin-bottom: 28px;
  max-width: 640px;
}
.section-head h2 {
  margin: 6px 0 0;
  font-size: clamp(26px, 3vw, 36px);
}
.is-inner .band > .wrap > .section-title {
  margin-bottom: 28px;
}

.prose-hero {
  width: 100%;
  height: 220px;
  object-fit: cover;
  margin-bottom: 24px;
}
.prose-cta { margin-top: 32px; }
.prose h2 { font-size: 28px; margin: 32px 0 12px; color: var(--heading); }
.prose h3 { font-size: 22px; margin: 24px 0 10px; }
.prose p, .prose li { color: #4a4a4a; line-height: 1.7; }
.prose p { margin: 0 0 16px; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 16px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin: 8px 0; }
.prose blockquote, .prose .quote {
  border-left: 3px solid var(--primary);
  padding: 8px 0 8px 20px;
  margin: 28px 0;
  font-family: var(--ff-heading);
  font-size: 24px;
  font-weight: 600;
  color: var(--heading);
  line-height: 1.4;
}
.blog-card h3 a:hover { color: var(--primary); }
.job-card h3 a:hover { color: var(--primary); }
.sidebar .block { margin-top: 0; }
.sidebar .block + .block {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.sidebar .block h3 {
  border-bottom: 0;
  padding-bottom: 0;
  margin-bottom: 14px;
}

:root { --accent: var(--primary); --accent-dark: var(--primary-dark); --muted: var(--text); --ink: var(--heading); --paper: var(--white); --black: var(--heading); --max: 1320px; }
.nav-links { display: contents; }

/* ========== DEI PAGE ========== */
.dei-intro {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 36px;
  align-items: start;
}
.dei-intro__copy h2 {
  margin: 8px 0 16px;
  font-size: clamp(28px, 3.2vw, 40px);
}
.dei-intro__copy p {
  margin: 0;
  max-width: 58ch;
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
}
.dei-intro__aside {
  background: var(--secondary);
  color: #fff;
  padding: 28px 24px;
}
.dei-kicker {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 600;
}
.dei-statement {
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
}
.dei-definition {
  max-width: 760px;
  margin-bottom: 36px;
}
.dei-definition p {
  margin: 0 0 16px;
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
}
.dei-definition p:last-child { margin-bottom: 0; }
.dei-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.dei-pillar {
  background: #fff;
  border: 1px solid var(--line);
  padding: 26px 22px;
  min-height: 200px;
}
.dei-pillar__num {
  display: block;
  font-family: var(--ff-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 14px;
}
.dei-pillar h3 {
  margin: 0 0 10px;
  font-size: 20px;
}
.dei-pillar p {
  margin: 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.55;
}
.dei-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.dei-action {
  border-top: 2px solid var(--primary);
  padding: 22px 4px 8px;
}
.dei-action--accent {
  background: var(--soft);
  border: 1px solid var(--line);
  border-top: 2px solid var(--primary);
  padding: 22px 20px;
}
.dei-action h3 {
  margin: 0 0 10px;
  font-size: 20px;
}
.dei-action p {
  margin: 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.55;
}

/* ========== FLOATING CALL ========== */
.float-call {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  padding: 0;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  box-shadow: 0 14px 32px rgba(0, 184, 232, 0.35);
  transition: transform var(--t), box-shadow var(--t), background var(--t);
}
.float-call:hover {
  color: #fff;
  background: #00a6d1;
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(0, 184, 232, 0.42);
}
.float-call__icon {
  flex-shrink: 0;
  display: block;
}
.float-call__pulse {
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  border: 2px solid rgba(0, 184, 232, 0.55);
  animation: float-call-pulse 2.2s ease-out infinite;
  pointer-events: none;
}
@keyframes float-call-pulse {
  0% { transform: scale(1); opacity: 0.7; }
  70% { transform: scale(1.18); opacity: 0; }
  100% { transform: scale(1.18); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .float-call__pulse { animation: none; display: none; }
}

@media (max-width: 1199px) {
  .header-top__contacts { gap: 24px; }
  .header-top__contacts::before { width: 100%; clip-path: none; }
  .main-menu a { padding: 10px 12px; }
  .about-grid { gap: 40px; }
}

@media (max-width: 991px) {
  .header-top { display: none; }
  .header-main { min-height: 64px; padding-top: 10px; padding-bottom: 10px; position: relative; }
  .logo img { height: 36px; }
  .main-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 12px var(--gutter) 24px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    z-index: 20;
  }
  .main-menu.open { display: flex; }
  .main-menu a { width: 100%; padding: 14px 0; }
  .main-menu a[aria-current="page"]::before { display: none; }
  .header-icon { display: none; }
  .nav-toggle { display: flex; }
  .about-grid,
  .split,
  .grid-3,
  .process,
  .why-grid,
  .services-masonry,
  .cta-band,
  .stats,
  .with-sidebar,
  .with-sidebar.jobs,
  .job-card,
  .blog-card,
  .footer-grid { grid-template-columns: 1fr; }
  .split-media { height: 360px; }
  .form-panel { padding: 28px 22px; }
  .services-masonry { grid-auto-rows: 300px; }
  .service-tile:nth-child(1) { grid-row: auto; min-height: 300px; }
  .about-media { min-height: 420px; }
  .about-media__main { width: 100%; height: 380px; }
  .about-media__side { width: 46%; height: 200px; bottom: 20px; }
  .about-badge { width: 110px; height: 110px; top: 12%; }
  .hero { min-height: 70vh; }
  .hero h1 { max-width: none; }
  .hero-nav { display: none; }
  .sidebar { position: static; }
  .band { padding: 56px 0; }
  .page-hero + .band { padding-top: 36px; }
  .page-hero--short { padding: 20px 0 18px; }
  .contact-info-grid,
  .contact-main { grid-template-columns: 1fr 1fr; }
  .purpose-grid,
  .principles-grid,
  .dei-intro,
  .dei-pillars,
  .dei-actions { grid-template-columns: 1fr 1fr; }
  .dei-intro { grid-template-columns: 1fr; }
  .contact-map__head { flex-direction: column; align-items: flex-start; }
  .contact-map__canvas { height: 320px; }
}

@media (max-width: 600px) {
  .logo img { height: 32px; }
  .header-main { min-height: 58px; padding-top: 8px; padding-bottom: 8px; }
  .header-right .btn { display: none; }
  .two { grid-template-columns: 1fr; }
  .page-hero { padding: 28px 0 24px; }
  .page-hero--short { padding: 18px 0 16px; }
  .page-hero h1 { font-size: 24px; }
  .about-badge { display: none; }
  .contact-info-grid,
  .contact-main,
  .purpose-grid,
  .principles-grid,
  .dei-pillars,
  .dei-actions { grid-template-columns: 1fr; }
  .contact-info-card { min-height: 0; }
  .about-actions { flex-direction: column; align-items: stretch; }
  .contact-map__canvas { height: 260px; }
  .contact-map__fallback { flex-direction: column; text-align: center; }
  .band { padding: 44px 0; }
  .contact-band { padding-top: 36px; padding-bottom: 36px; }
  .float-call {
    right: 16px;
    bottom: 16px;
  }
}
