/* Archivo, hosted here (SIL Open Font License, see fonts/archivo/OFL.txt). */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(../fonts/archivo/archivo-latin-wdth.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;
}

/* Stage 2 UK look. Loaded after style.css; every rule here is scoped to
   body.uk or to uk-* classes, so the template's rules stay as they were.

   Motif: a charcoal text panel beside a full-height photo, used for the hero,
   the vision band and the contact band. Headings use Archivo's wide cuts. */

body.uk {
  --ink: #18181b;
  --body: #52525b;
  --graphite: #3f3f46;
  --charcoal: #27272a;
  --steel: #f4f4f5;
  --rule: #d4d4d8;
  --on-dark: #e4e4e7;

  font-family: "Archivo", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  font-variation-settings: "wdth" 100;
  line-height: 1.65;
  color: var(--body);
  background: #fff;
}

.uk h1,
.uk h2,
.uk h3 {
  font-family: inherit;
  color: var(--ink);
  font-weight: 650;
  letter-spacing: -0.01em;
}

.uk h1,
.uk h2 {
  font-stretch: 125%;
  font-variation-settings: "wdth" 125;
  line-height: 1.08;
}

.uk h2 {
  font-size: clamp(30px, 3.4vw, 44px);
  margin-bottom: 0.6em;
}

.uk h3 {
  font-size: 19px;
  font-stretch: 112%;
  font-variation-settings: "wdth" 112;
  line-height: 1.3;
  margin-bottom: 0.4em;
}

.uk p {
  max-width: 68ch;
}

.uk a {
  color: var(--graphite);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.uk a:hover {
  color: var(--ink);
}

.uk-lead-dark {
  font-size: 19px;
  color: var(--body);
}

/* Buttons: square-shouldered, one size. */
.uk .uk-btn {
  display: inline-block;
  padding: 14px 26px;
  border: 2px solid var(--graphite);
  border-radius: 2px;
  background: var(--graphite);
  color: #fff;
  font-weight: 650;
  font-size: 16px;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.uk .uk-btn:hover {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: #fff;
}

.uk .uk-btn-light {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}

.uk .uk-btn-light:hover {
  background: transparent;
  border-color: #fff;
  color: #fff;
}

/* Header */
.uk-header {
  background: #fff;
  border-bottom: 1px solid var(--rule);
  padding: 18px 0;
}

/* Bootstrap drops the navbar container's side padding below 992px. */
.uk-header > .container {
  padding-left: 15px;
  padding-right: 15px;
}

.uk-header .uk-brand {
  padding: 0;
  margin: 0;
}

.uk-header .uk-brand img {
  display: block;
  height: auto;
}

.uk-nav .nav-link {
  color: var(--body);
  font-weight: 600;
  font-size: 16px;
  padding: 8px 0 !important;
  margin-left: 32px;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.uk-nav .nav-link:hover {
  color: var(--ink);
  border-bottom-color: var(--graphite);
}

.uk-menu-button {
  border: 2px solid var(--graphite);
  border-radius: 2px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 650;
  padding: 6px 12px;
}

/* Split panel: the page's one recurring device. */
.uk-split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  min-height: 560px;
  background: var(--charcoal);
}

/* --edge puts panel text on the same line as the container content: half the
   space Bootstrap leaves beside its container, plus the container's 15px gutter. */
body.uk {
  --edge: max(15px, calc((100vw - 1110px) / 2));
}

.uk-split-panel {
  display: flex;
  align-items: center;
  padding: 72px 56px 72px var(--edge);
}

.uk-split-text {
  width: 100%;
  max-width: 500px;
}

.uk-split-panel h1,
.uk-split-panel h2 {
  color: #fff;
}

.uk-split-panel h1 {
  font-size: clamp(30px, 3.4vw, 46px);
  margin-bottom: 24px;
}

.uk-split-panel .uk-lead,
.uk-split-panel p {
  color: var(--on-dark);
  font-size: 19px;
}

.uk-split-panel .uk-lead-xl {
  color: #fff;
  font-size: clamp(22px, 2.1vw, 28px);
  font-weight: 600;
  line-height: 1.35;
}

.uk-split-panel p:last-child {
  margin: 32px 0 0;
}

.uk-split-media {
  background-size: cover;
  background-position: center;
  min-height: 280px;
}

.uk-split-reverse .uk-split-panel {
  order: 2;
  padding: 72px var(--edge) 72px 56px;
}

.uk-split-reverse {
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
}

.uk-split-band {
  min-height: 420px;
}

/* Hero carousel: owl wraps each .uk-split; keep its dots on the panel side. */
.uk-hero.owl-carousel {
  position: relative;
  height: auto;
  background: var(--charcoal);
}

.uk-hero.owl-carousel .owl-dots {
  position: absolute;
  left: 0;
  bottom: 28px;
  padding: 0 0 0 var(--edge);
  display: flex;
  text-align: left;
}

/* Each dot is a 36x28 button around its 28x4 bar, past the 24px target minimum. */
.uk-hero.owl-carousel .owl-dots .owl-dot {
  width: 36px;
  height: 28px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  display: inline-flex;
  align-items: center;
}

.uk-hero.owl-carousel .owl-dots .owl-dot.active {
  background: none;
}

.uk-hero.owl-carousel .owl-dots .owl-dot span {
  width: 28px;
  height: 4px;
  margin: 0 6px 0 0;
  border-radius: 0;
  background: #71717a;
}

.uk-hero.owl-carousel .owl-dots .owl-dot.active span,
.uk-hero.owl-carousel .owl-dots .owl-dot:hover span {
  background: #fff;
}

.uk-hero-controls {
  display: flex;
  justify-content: flex-end;
  padding-top: 10px;
}

.uk-pause {
  background: none;
  border: 0;
  padding: 4px 0;
  color: var(--body);
  font: inherit;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
}

.uk-pause:hover {
  color: var(--ink);
}

/* Content sections */
.uk-section {
  padding: 104px 0;
}

.uk-intro {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: 72px;
  align-items: start;
}

.uk-capabilities {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 4px;
  margin-top: 48px;
}

.uk-capability {
  background: var(--steel);
  padding: 30px 28px;
}

.uk-capability [class^="flaticon-"]:before,
.uk-service [class^="flaticon-"]:before {
  font-size: 40px;
  margin-left: 0;
  color: var(--graphite);
}

.uk-capability [class^="flaticon-"],
.uk-service [class^="flaticon-"] {
  display: block;
  line-height: 1;
  margin-bottom: 18px;
}

.uk-capability p,
.uk-service p {
  margin-bottom: 0;
}

.uk-story {
  border-top: 4px solid var(--graphite);
  padding-top: 28px;
}

.uk-story-img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-bottom: 28px;
}

.uk-story h3 {
  font-size: 22px;
}

.uk-story p {
  font-size: 16px;
}

.uk-section-head {
  max-width: 760px;
  margin-bottom: 56px;
}

.uk-services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 48px;
  row-gap: 56px;
}

.uk-service {
  border-top: 2px solid var(--graphite);
  padding-top: 26px;
}

.uk-careers {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 72px;
}

/* Footer: light, so the supplied black logo needs no backing. */
.uk-footer {
  background: var(--steel);
  border-top: 1px solid var(--rule);
  padding: 72px 0 32px;
  font-size: 15px;
}

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

.uk-footer h2 {
  font-size: 15px;
  font-stretch: 112%;
  font-variation-settings: "wdth" 112;
  font-weight: 650;
  margin-bottom: 16px;
}

.uk-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.uk-footer li {
  margin-bottom: 10px;
}

.uk-footer .icon {
  margin-right: 10px;
  color: var(--graphite);
}

.uk-footer-logo {
  display: block;
  height: auto;
  margin-bottom: 18px;
}

.uk-copyright {
  max-width: none !important;
  margin: 56px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  font-size: 14px;
}

@media (max-width: 1199.98px) {
  body.uk {
    --edge: calc((100vw - 930px) / 2);
  }
}

/* Tablet */
@media (max-width: 991.98px) {
  body.uk {
    --edge: calc((100vw - 690px) / 2);
  }

  .uk-nav {
    padding: 12px 0 4px;
  }

  .uk-nav .nav-link {
    margin-left: 0;
  }

  .uk-split,
  .uk-split-reverse {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }

  .uk-split-media {
    order: -1;
    min-height: 300px;
  }

  .uk-split-reverse .uk-split-panel {
    order: 0;
    padding: 48px var(--edge) 64px;
  }

  .uk-split-panel {
    padding: 48px var(--edge) 64px;
  }

  .uk-split-text {
    max-width: 640px;
  }

  .uk-hero.owl-carousel .owl-dots {
    bottom: 24px;
  }

  .uk-intro,
  .uk-careers {
    grid-template-columns: minmax(0, 1fr);
    gap: 56px;
  }

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

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

  .uk-section {
    padding: 80px 0;
  }
}

@media (max-width: 767.98px) {
  body.uk {
    --edge: calc((100vw - 510px) / 2);
  }
}

/* Phone */
@media (max-width: 575.98px) {
  body.uk {
    --edge: 15px;
  }

  body.uk {
    font-size: 16px;
  }

  .uk-split-panel,
  .uk-split-reverse .uk-split-panel {
    padding: 40px var(--edge) 60px;
  }

  .uk-split-media {
    min-height: 220px;
  }


  .uk-capabilities,
  .uk-services,
  .uk-footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .uk-section {
    padding: 64px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .uk .uk-btn {
    transition: none;
  }
}
