:root {
  --ink: #465262;
  --muted: #8b929a;
  --blue: #70a9ce;
  --teal: #71bdb9;
  --coral: #d38c82;
  --paper: #f3f3f3;
  --white: #fff;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--muted);
  background: var(--paper);
  font: 16px/1.7 Lato, "Helvetica Neue", Arial, sans-serif;
}
body.page-photo {
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
}
body.about-page { background-image: linear-gradient(#23303d66, #23303d66), url('/assets/images/about.jpg'); }
body.fulfillment-page { background-image: linear-gradient(#23303d66, #23303d66), url('/assets/images/fulfillment.jpg'); }
body.international-page { background-image: linear-gradient(#23303d66, #23303d66), url('/assets/images/riyadh.jpg'); }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--coral); }
img { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin-top: 0; color: var(--ink); font-weight: 400; line-height: 1.2; }
p { margin: 0 0 1.35em; }
.container { width: min(88%, var(--max)); margin-inline: auto; }
.archive-notice {
  position: relative; z-index: 30; padding: 10px 6%; color: #fff; background: var(--ink);
  font-size: 14px; letter-spacing: .015em; text-align: center;
}
.site-header { position: relative; z-index: 20; min-height: 90px; background: #fff; }
.header-inner { min-height: 90px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand img { width: 175px; height: 84px; object-fit: contain; }
.site-nav { align-self: stretch; }
.site-nav ul { display: flex; height: 100%; margin: 0; padding: 0; list-style: none; }
.site-nav a {
  display: grid; height: 100%; padding: 0 11px; place-items: center;
  border-top: 4px solid transparent; color: var(--ink); font-size: 13px;
  letter-spacing: .085em; text-transform: uppercase;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { border-color: var(--blue); color: var(--coral); }
.menu-button { display: none; border: 0; color: var(--ink); background: transparent; font-size: 30px; cursor: pointer; }
.site-footer { margin-top: 25px; padding: 44px 0; background: #fff; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; margin: 0; padding: 0; list-style: none; }
.footer-nav a { color: var(--muted); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.section { padding: 60px 0; background: var(--paper); }
.section--blue { color: #fff; background: var(--blue); }
.section--teal { color: #fff; background: var(--teal); }
.section--coral { color: #fff; background: var(--coral); }
.section--white { background: #fff; }
.section--transparent { background: transparent; }
.title-band { padding: 6vw 0; text-align: center; }
.title-band h1, .title-band h2 { margin: 0; color: #fff; font-size: clamp(38px, 5vw, 62px); }
.lead { font-size: 18px; text-align: justify; }
.grid { display: grid; gap: 45px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.center { text-align: center; }
.justify { text-align: justify; }
.button {
  display: inline-block; padding: 9px 18px; border: 0; color: #fff; background: var(--ink);
  font: inherit; font-size: 13px; text-transform: uppercase; cursor: pointer;
}
.button:hover { color: #fff; background: var(--coral); }
.icon { display: block; margin-bottom: 12px; color: var(--ink); font-size: 52px; line-height: 1; }

/* Home */
.hero-slider { position: relative; height: min(37.5vw, 600px); min-height: 430px; overflow: hidden; background: #334050; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; pointer-events: none; }
.slide.is-active { opacity: 1; pointer-events: auto; }
.slide::before { content: ""; position: absolute; inset: 0; background: #15202d52; }
.slide-image { width: 100%; height: 100%; object-fit: cover; }
.slide-map { position: absolute; z-index: 1; right: 7%; bottom: 4%; width: min(36vw, 480px); max-height: 88%; object-fit: contain; }
.slide-content { position: absolute; inset: 0; z-index: 1; display: grid; align-content: center; padding: 6vw; color: #fff; }
.slide-content h1 { max-width: 820px; margin: 0; color: #fff; font-size: clamp(34px, 4vw, 58px); text-shadow: 0 2px 16px #0008; }
.slide-content p { max-width: 760px; margin: 18px 0 0; font-size: clamp(20px, 2.2vw, 34px); }
.slide-content.centered { justify-items: center; text-align: center; }
.slide-content.cards { grid-template-columns: repeat(2, minmax(230px, 390px)); justify-content: center; gap: 20px; }
.slide-content.split-slide { grid-template-columns: minmax(300px, 1fr) minmax(460px, 1fr); align-items: center; gap: 5vw; }
.split-slide .cards { display: grid; grid-template-columns: repeat(2, minmax(190px, 1fr)); gap: 20px; }
.technology-cards .slide-card:last-child { grid-column: 1 / -1; justify-self: center; width: calc(50% - 10px); }
.slide-card { padding: 26px; background: #465262d9; text-align: center; font-size: 22px; }
.slider-control { position: absolute; z-index: 4; top: 50%; border: 0; color: #fff; background: #0003; font-size: 32px; cursor: pointer; transform: translateY(-50%); }
.slider-prev { left: 18px; } .slider-next { right: 18px; }
.slider-dots { position: absolute; z-index: 4; bottom: 18px; left: 50%; display: flex; gap: 9px; transform: translateX(-50%); }
.slider-dot { width: 12px; height: 12px; padding: 0; border: 2px solid #fff; border-radius: 50%; background: transparent; cursor: pointer; }
.slider-dot.is-active { background: #fff; }
.home-intro { align-items: center; grid-template-columns: 1fr 2fr; }
.home-intro img { width: 60%; margin: auto; }
.home-cards img { width: 128px; margin: 0 auto 18px; }
.home-cards h2 { margin-bottom: 18px; }

/* Lists and content pages */
.feature-list { display: grid; gap: 20px; margin: 0; padding: 0; list-style: none; }
.feature { display: grid; grid-template-columns: 70px 1fr; gap: 22px; align-items: center; }
.feature-symbol { display: grid; width: 70px; height: 70px; place-items: center; border-radius: 50%; color: var(--teal); background: #fff; font-size: 31px; }
.feature h3, .feature p { margin: 0; }
.feature p { color: #fff; }
.value-card h3 { margin: 15px 0; font-size: 19px; letter-spacing: .1em; text-transform: uppercase; }
.reason-card { display: flex; flex-direction: column; align-items: center; }
.reason-card p { flex: 1; text-align: justify; }
.number-list { margin: 0; padding: 0; list-style: none; }
.number-list li { display: grid; grid-template-columns: 55px 1fr; gap: 18px; align-items: start; margin-bottom: 22px; }
.number { display: grid; width: 52px; height: 52px; place-items: center; border-radius: 50%; color: var(--blue); background: #fff; font-size: 25px; }
.section--white .number { color: #fff; background: var(--ink); }
.section-heading { margin-bottom: 38px; text-align: center; font-size: clamp(32px, 4vw, 50px); }
.section--blue .section-heading, .section--teal .section-heading { color: #fff; }
.process-grid { align-items: start; }
.stat-grid { margin: 0; padding: 0; list-style: none; }
.stat-grid li { font-size: 18px; }
.stat-grid strong { display: block; margin-top: 8px; color: var(--ink); font-size: 19px; }

.archived-contact { padding-block: 60px; }

@media (max-width: 900px) {
  .menu-button { display: block; }
  .site-nav { display: none; position: absolute; top: 90px; left: 0; width: 100%; height: auto; background: #fff; box-shadow: 0 8px 15px #0002; }
  .site-nav.is-open { display: block; }
  .site-nav ul { display: block; }
  .site-nav a { height: auto; padding: 15px 6%; border-top: 0; border-left: 4px solid transparent; place-items: start; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-slider { height: 520px; }
  .slide-content.split-slide { grid-template-columns: 1fr; align-content: center; }
  .slide-map { right: 3%; width: 43vw; opacity: .8; }
}

@media (max-width: 680px) {
  body.page-photo { background-attachment: scroll; }
  .section { padding: 44px 0; }
  .grid-2, .grid-3, .grid-4, .home-intro, .slide-content.cards { grid-template-columns: 1fr; }
  .home-intro img { width: 52%; }
  .hero-slider { min-height: 510px; }
  .slide-content { padding: 55px 9%; }
  .slide-content.cards { align-content: center; }
  .split-slide .cards { grid-template-columns: 1fr 1fr; gap: 10px; }
  .technology-cards .slide-card:last-child { grid-column: auto; width: auto; }
  .slide-map { right: -9%; bottom: 3%; width: 72vw; opacity: .55; }
  .slide-card { padding: 15px; font-size: 17px; }
}
