/* Locally hosted original fonts. */
@font-face {
  font-family: 'Assistant';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/assistant-0.ttf) format('truetype');
}
@font-face {
  font-family: 'Assistant';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/assistant-1.ttf) format('truetype');
}
@font-face {
  font-family: 'Almarai';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/almarai-0.ttf) format('truetype');
}
@font-face {
  font-family: 'Almarai';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/almarai-1.ttf) format('truetype');
}

/* Brand colors and fonts are the only shared design settings. */
:root {
  --blue: #1761a0;
  --navy: #05425e;
  --yellow: #f3d21a;
  --text: #293640;
  --content-width: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: Assistant, Arial, sans-serif;
  font-size: 20px;
  line-height: 1.55;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--navy); outline-offset: 5px; }
p, ul, ol { margin: 0 0 1.25rem; }
ul, ol { padding-left: 1.5em; }
li { margin-bottom: .45rem; }
li a[href$=".pdf"] { display: inline-block; margin: .4rem 0; font-weight: 700; }
h1, h2, h3 { font-family: Almarai, Arial, sans-serif; color: var(--blue); line-height: 1.25; }
h1 { font-size: clamp(1.9rem, 4vw, 3.6rem); }
h2 { margin: 0 0 2.5rem; font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 400; text-align: center; text-transform: uppercase; }
h2::after { content: ""; display: block; width: 110px; height: 3px; background: var(--yellow); margin: 1.2rem auto 0; }
h3 { margin: 2rem 0 1rem; font-size: 1.35rem; font-weight: 400; }
hr { width: 160px; margin: 2.5rem auto; border: 0; border-top: 2px solid var(--yellow); }
section[id] { scroll-margin-top: 1rem; }
.skip-link { position: absolute; top: -100px; left: 1rem; z-index: 2; padding: .75rem 1rem; background: #fff; }
.skip-link:focus { top: 1rem; }
/* Header and the native, JavaScript-free mobile menu. */
.site-header { display: flex; align-items: center; gap: 1.5rem; padding: .65rem 1.5rem; }
.brand { flex: 0 0 110px; }
.brand img { width: 110px; }
.desktop-nav { flex: 1; display: flex; justify-content: flex-end; flex-wrap: wrap; background: var(--blue); }
.desktop-nav a { padding: .8rem 1rem; color: #fff; font-size: .85rem; text-decoration: none; text-transform: uppercase; }
.desktop-nav a:hover, .desktop-nav a:focus-visible { background: var(--navy); }
.mobile-nav { display: none; }
/* Full-width photography and the original yellow statistics strip. */
.hero { position: relative; display: grid; place-items: center; min-height: 480px; height: 65vh; max-height: 760px; padding: 2rem 1.25rem; isolation: isolate; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.hero h1 { max-width: 820px; margin: 0; padding: 1rem 1.5rem; text-align: center; background: rgb(255 255 255 / 85%); }
.statistics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding: 1.5rem max(1.25rem, calc((100% - var(--content-width)) / 2)); background: var(--yellow); color: var(--navy); text-align: center; }
.statistics p { margin: 0; }
.statistics strong { display: block; color: var(--blue); font-size: 2.75rem; font-weight: 400; line-height: 1.2; }
.statistics span { display: block; margin-top: .4rem; font-size: 1.1rem; }
.about { position: relative; display: flex; align-items: center; min-height: 650px; padding: 3rem max(1.25rem, calc((100% - 1440px) / 2)); isolation: isolate; }
.about > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.about-panel { width: min(600px, 50%); padding: 2rem; background: #fff; }
.about h2 { text-align: left; margin-bottom: 1.5rem; }
.about h2::after { margin-left: 0; }
.about p:last-child { margin-bottom: 0; }
/* Shared content sections and image galleries. Captions stay visible on touch screens. */
.container { width: min(var(--content-width), calc(100% - 3rem)); margin: 0 auto; }
.section { padding: 4rem 0 1rem; }
article + article { margin-top: 2.5rem; }
.gallery { display: grid; gap: 1.5rem; margin: 1.75rem 0 2rem; }
.columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
figure { min-width: 0; margin: 0; }
.gallery img { width: 100%; }
figcaption { padding: .7rem 0; color: var(--blue); font-size: 1.05rem; line-height: 1.4; }
.safety-photo { max-width: 420px; margin: 2rem auto 0; text-align: center; }
.safety-photo img { width: 100%; }
.contacts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem; max-width: 780px; margin: auto; text-align: center; }
.contacts h3 { margin-top: 0; }
address { font-style: normal; overflow-wrap: anywhere; }
.site-footer { display: grid; justify-items: center; gap: 1.25rem; padding: 3rem 1.5rem 2rem; }
.site-footer img { width: 125px; }
.site-footer a { font-size: 1rem; }
.site-footer .copyright { margin: 0; font-size: 1rem; text-align: center; }
/* Tablet and phone layouts. */
@media (max-width: 900px) {
  .site-header { flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding: .65rem 1.25rem; }
  .brand, .brand img { width: 76px; flex-basis: 76px; }
  .desktop-nav { display: none; }
  .mobile-nav { display: block; flex: 0 1 auto; }
  .mobile-nav[open] { flex: 1 0 100%; }
  .mobile-nav summary { width: fit-content; margin-left: auto; padding: .6rem 1rem; color: #fff; background: var(--blue); cursor: pointer; font-weight: 700; }
  .mobile-nav nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: .75rem; background: var(--blue); }
  .mobile-nav a { padding: .65rem 1rem; color: #fff; text-decoration: none; }
  .hero { min-height: 420px; height: 58vh; }
  .about { min-height: 580px; }
  .about-panel { width: min(600px, 75%); }
  .columns-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  body { font-size: 18px; line-height: 1.55; }
  h2 { font-size: 2rem; overflow-wrap: break-word; }
  h3 { font-size: 1.2rem; }
  .container { width: calc(100% - 2.5rem); }
  .hero { min-height: 390px; height: 55vh; }
  .hero > img { object-position: 55% center; }
  .hero h1 { padding: 1rem; font-size: 1.9rem; }
  .statistics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem .75rem; padding: 1.5rem 1rem; }
  .statistics strong { font-size: 2.4rem; }
  .statistics span { font-size: 1rem; }
  .about { display: block; padding: 0; min-height: 0; }
  .about > img { position: static; height: auto; }
  .about-panel { width: 100%; padding: 2rem 1.25rem 0; }
  .section { padding-top: 3rem; }
  .gallery, .contacts { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  figcaption { font-size: 1rem; }
  .contacts { gap: 2.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
