:root {
  color-scheme: light;
  --ink: #10232d;
  --ink-2: #30434c;
  --muted: #697982;
  --line: #dde5e8;
  --paper: #ffffff;
  --mist: #f2f6f7;
  --steel: #dfe9ed;
  --deep: #0b3440;
  --deep-2: #163f47;
  --accent: #f47b13;
  --accent-2: #ff9a2a;
  --olive: #5c6c54;
  --shadow: 0 20px 60px rgb(12 34 42 / 15%);
  --max: 1180px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;
  width: min(calc(100% - 32px), var(--max));
  margin: 14px auto 0;
  padding: 10px 12px;
  color: #fff;
  background: rgb(8 33 42 / 72%);
  border: 1px solid rgb(255 255 255 / 13%);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgb(255 255 255 / 94%);
  box-shadow: 0 16px 50px rgb(15 32 40 / 14%);
}

.brand {
  display: inline-grid;
  grid-template-columns: 38px auto;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  display: block;
  width: 42px;
  height: 42px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgb(255 255 255 / 42%);
  border-radius: 6px;
  box-shadow: 0 8px 22px rgb(0 0 0 / 16%);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  line-height: 1.02;
}

.brand-copy strong {
  font-size: 1.08rem;
  letter-spacing: 0;
}

.brand-copy small {
  color: currentColor;
  font-size: 0.69rem;
  opacity: 0.78;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-size: 0.88rem;
}

.main-nav a {
  opacity: 0.88;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--accent-2);
  opacity: 1;
}

.header-action,
.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 700;
  line-height: 1.1;
}

.header-action {
  padding: 0 16px;
  color: #fff;
  background: var(--accent);
  font-size: 0.82rem;
}

.site-header.is-scrolled .header-action {
  color: #fff;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: inherit;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 4px;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  color: #fff;
  background: var(--deep);
}

.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(4 22 29 / 80%) 0%, rgb(6 29 38 / 68%) 38%, rgb(6 30 37 / 22%) 76%),
    linear-gradient(180deg, rgb(5 25 32 / 36%) 0%, rgb(5 25 32 / 8%) 40%, rgb(5 25 32 / 78%) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 198px 0 220px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-2);
  font-size: 0.83rem;
  font-weight: 800;
}

.hero h1,
.section h2,
.feature-band h2,
.contact-section h2 {
  margin: 0;
  font-family: Impact, "Arial Narrow", Arial, Helvetica, sans-serif;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.98;
}

.hero h1 {
  max-width: 680px;
  font-size: clamp(3.25rem, 7vw, 6.9rem);
}

.hero-content p:not(.eyebrow) {
  max-width: 590px;
  margin: 24px 0 0;
  color: rgb(255 255 255 / 86%);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  padding: 0 20px;
}

.button-primary {
  color: #fff;
  background: var(--accent);
}

.button-primary:hover,
.button-primary:focus-visible,
.header-action:hover,
.header-action:focus-visible {
  background: #db690a;
}

.button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.button-secondary {
  color: #fff;
  background: rgb(255 255 255 / 14%);
  border: 1px solid rgb(255 255 255 / 35%);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgb(255 255 255 / 22%);
}

.hero-facts {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(calc(100% - 40px), var(--max));
  transform: translateX(-50%);
  background: rgb(255 255 255 / 94%);
  box-shadow: var(--shadow);
}

.hero-facts article {
  min-height: 122px;
  padding: 24px;
  color: var(--ink);
  border-right: 1px solid var(--line);
}

.hero-facts article:last-child {
  border-right: 0;
}

.hero-facts strong {
  display: block;
  color: var(--deep);
  font-family: Impact, "Arial Narrow", Arial, Helvetica, sans-serif;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 400;
  line-height: 0.9;
}

.hero-facts span {
  color: var(--muted);
  font-size: 0.9rem;
}

.logo-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border-bottom: 1px solid var(--line);
  background: var(--line);
}

.partner-logo {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  grid-template-areas:
    "mark name"
    "mark role";
  column-gap: 12px;
  align-items: center;
  min-height: 96px;
  padding: 18px 20px;
  background: #fff;
}

.partner-mark {
  grid-area: mark;
  position: relative;
  display: block;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--deep);
  overflow: hidden;
}

.partner-mark::before,
.partner-mark::after {
  position: absolute;
  content: "";
}

.partner-mark::before {
  inset: 8px;
  border: 4px solid #fff;
  border-radius: 50%;
}

.partner-mark::after {
  right: -8px;
  bottom: -8px;
  width: 28px;
  height: 28px;
  background: rgb(255 255 255 / 35%);
  border-radius: 50%;
}

.partner-logo strong {
  grid-area: name;
  color: var(--deep);
  font-size: 1.02rem;
  line-height: 1.1;
}

.partner-logo small {
  grid-area: role;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.25;
}

.partner-perconsulting .partner-mark {
  background: linear-gradient(135deg, #ff7b00, #ffb14a);
}

.partner-atina .partner-mark {
  background: linear-gradient(135deg, #8a969b, #d1d8db);
}

.partner-atina .partner-mark::before {
  border-radius: 3px;
  transform: skewX(-12deg);
}

.partner-genera .partner-mark {
  background: radial-gradient(circle at 68% 35%, #ff9a2a 0 20%, transparent 21%), linear-gradient(135deg, #f47b13, #f6c15d);
}

.partner-gbt .partner-mark {
  background: linear-gradient(135deg, #2d78bf, #45a85c);
}

.partner-gbt .partner-mark::before {
  border-color: rgb(255 255 255 / 90%);
}

.partner-mica .partner-mark {
  background: linear-gradient(135deg, #1e1e1e, #78a843);
}

.partner-mica .partner-mark::before {
  border-radius: 2px;
}

.partner-jfr .partner-mark {
  background: linear-gradient(135deg, #e51f2b 0 34%, #1a61c8 35% 70%, #43a64a 71%);
}

.partner-jfr .partner-mark::before {
  border-radius: 2px;
}

.partner-triela .partner-mark {
  background: linear-gradient(135deg, #0d4761, #2a8bb8);
}

.partner-triela .partner-mark::before {
  border-width: 0;
  background: linear-gradient(135deg, rgb(255 255 255 / 85%), rgb(255 255 255 / 15%));
}

.partner-wag .partner-mark {
  background: #fff;
  border: 1px solid var(--line);
}

.partner-wag .partner-mark::before,
.partner-wag .partner-mark::after {
  display: none;
}

.partner-wag .partner-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.section {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 100px 0;
}

.section-kicker {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.78fr);
  align-items: center;
  gap: 64px;
}

.section h2,
.feature-band h2,
.contact-section h2 {
  color: var(--ink);
  font-size: clamp(2.35rem, 4vw, 4.55rem);
}

.section-lead,
.section-heading > p,
.feature-band > div > p,
.contact-copy > p {
  color: var(--ink-2);
  font-size: 1.04rem;
}

.about-grid p:not(.eyebrow) {
  max-width: 680px;
  color: var(--ink-2);
}

.image-panel {
  position: relative;
  margin: 0;
  min-height: 440px;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.image-panel::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 42%;
  height: 10px;
  content: "";
  background: var(--accent);
}

.image-panel img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
}

.services-section {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 100px max(20px, calc((100vw - var(--max)) / 2));
  color: #fff;
  background: var(--deep);
}

.services-section h2,
.services-section .section-heading > p {
  color: #fff;
}

.services-section .section-heading > p {
  opacity: 0.76;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(300px, 0.48fr);
  gap: 50px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading p {
  margin: 0;
}

.service-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.service-filter {
  min-height: 40px;
  padding: 0 14px;
  color: rgb(255 255 255 / 74%);
  background: rgb(255 255 255 / 8%);
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 4px;
  cursor: pointer;
}

.service-filter.is-active,
.service-filter:hover,
.service-filter:focus-visible {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  min-height: 385px;
  padding: 24px;
  background: rgb(255 255 255 / 7%);
  border: 1px solid rgb(255 255 255 / 13%);
  border-radius: var(--radius);
  transition: opacity 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.service-card.is-hidden {
  display: none;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgb(244 123 19 / 72%);
}

.service-card > span {
  display: block;
  margin-bottom: 28px;
  color: var(--accent-2);
  font-family: Impact, "Arial Narrow", Arial, Helvetica, sans-serif;
  font-size: 2.5rem;
  line-height: 0.9;
}

.service-card h3 {
  min-height: 66px;
  margin: 0 0 12px;
  color: #fff;
  font-size: 1.25rem;
  line-height: 1.15;
}

.service-card p {
  margin: 0 0 16px;
  color: rgb(255 255 255 / 75%);
}

.service-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  color: rgb(255 255 255 / 72%);
  font-size: 0.9rem;
  list-style: none;
}

.service-card li {
  position: relative;
  padding-left: 16px;
}

.service-card li::before {
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 6px;
  height: 6px;
  content: "";
  background: var(--accent);
  border-radius: 50%;
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.88fr);
  gap: 0;
  background: var(--mist);
}

.feature-band figure {
  min-height: 680px;
  margin: 0;
}

.feature-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-band > div {
  display: grid;
  align-content: center;
  padding: 74px max(28px, calc((100vw - var(--max)) / 2)) 74px 64px;
}

.feature-band h2 {
  max-width: 610px;
}

.feature-band > div > p {
  max-width: 620px;
}

.alliance-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.alliance-list article {
  padding: 18px 20px;
  background: #fff;
  border-left: 5px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: 0 10px 28px rgb(17 46 56 / 7%);
}

.alliance-list strong {
  display: block;
  margin-bottom: 4px;
}

.alliance-list span {
  color: var(--muted);
}

.company-section {
  padding-bottom: 82px;
}

.company-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  background: var(--line);
  border: 1px solid var(--line);
}

.company-list div {
  min-height: 148px;
  padding: 24px;
  background: #fff;
}

.company-list dt {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.company-list dd {
  margin: 0;
  color: var(--deep);
  font-weight: 800;
}

.team-section {
  padding-top: 36px;
}

.team-section .section-heading {
  grid-template-columns: 1fr;
}

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

.team-grid article {
  min-height: 245px;
  padding: 28px;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.team-grid span {
  display: block;
  margin-bottom: 22px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.team-grid h3 {
  margin: 0 0 12px;
  font-size: 1.65rem;
  line-height: 1.1;
}

.team-grid p {
  margin: 0 0 8px;
  color: var(--ink-2);
}

.team-grid a {
  display: block;
  margin-top: 8px;
  color: var(--deep);
  font-weight: 700;
  word-break: break-word;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.72fr);
  gap: 64px;
  padding: 92px max(20px, calc((100vw - var(--max)) / 2));
  color: #fff;
  background: linear-gradient(110deg, var(--deep) 0%, var(--deep-2) 72%, var(--olive) 100%);
}

.contact-section h2,
.contact-copy > p {
  color: #fff;
}

.contact-copy > p {
  max-width: 560px;
  opacity: 0.78;
}

.contact-methods {
  display: grid;
  gap: 10px;
  margin-top: 34px;
}

.contact-methods a {
  display: grid;
  grid-template-columns: minmax(160px, 0.42fr) 1fr;
  gap: 16px;
  align-items: center;
  min-height: 68px;
  padding: 18px 20px;
  background: rgb(255 255 255 / 8%);
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: var(--radius);
}

.contact-methods span {
  color: rgb(255 255 255 / 64%);
  font-size: 0.82rem;
  font-weight: 700;
}

.contact-methods strong {
  color: #fff;
  word-break: break-word;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 26px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  color: var(--ink);
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  outline: 3px solid rgb(244 123 19 / 18%);
}

.contact-form .button {
  width: 100%;
}

.form-status {
  min-height: 1.4em;
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 82px;
  padding: 24px max(20px, calc((100vw - var(--max)) / 2));
  color: #fff;
  background: #071c23;
}

.site-footer p {
  margin: 0;
  font-weight: 800;
}

.site-footer a {
  color: var(--accent-2);
  font-weight: 700;
}

@media (max-width: 1040px) {
  .logo-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .feature-band,
  .contact-section,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .feature-band figure {
    min-height: 430px;
  }

  .feature-band > div {
    padding: 62px 28px;
  }
}

@media (max-width: 820px) {
  .site-header {
    display: flex;
    justify-content: space-between;
    left: 11px;
    right: auto;
    width: calc(100vw - 22px);
    max-width: calc(100vw - 22px);
    gap: 12px;
    margin: 10px 0 0;
    padding-right: 64px;
    overflow: visible;
  }

  .menu-toggle {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 40;
    display: inline-flex !important;
    flex: 0 0 42px;
    flex-direction: column;
    color: #fff;
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 10px 28px rgb(0 0 0 / 22%);
    opacity: 1;
    visibility: visible;
  }

  .site-header.is-scrolled .menu-toggle {
    color: #fff;
    background: var(--accent);
  }

  .main-nav {
    position: fixed;
    inset: 74px 11px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 14px 12px;
    border-bottom: 1px solid var(--line);
  }

  .main-nav a:last-child {
    border-bottom: 0;
  }

  .header-action {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding-top: 152px;
    padding-bottom: 34px;
  }

  .hero-facts {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    margin: 0 auto;
  }

  .hero-facts,
  .logo-strip {
    grid-template-columns: 1fr;
  }

  .hero-facts article {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-facts article:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 74px 0;
  }

  .section-heading,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .contact-methods a {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .hero-content {
    width: calc(100vw - 40px);
    max-width: calc(100vw - 40px);
  }

  .hero h1 {
    max-width: 8em;
    font-size: 2.58rem;
    overflow-wrap: normal;
  }

  .hero-content p:not(.eyebrow) {
    max-width: min(32ch, 100%);
    font-size: 1rem;
    overflow-wrap: break-word;
  }

  .hero-actions {
    max-width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .services-grid,
  .company-list {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .contact-section {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .contact-form {
    padding: 20px;
  }
}
