@font-face {
  font-family: Roboto-Light;
  src: url("../fonts/Roboto-Light.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

:root {
  --nav-h: 93px;
  --text: #6e6e6e;
  --muted: #737171;
  --accent: #c1a45a;
  --stream: #990000;
  --link: #003772;
  --hover: #bfa161;
  --content: 950px;
  --font: Roboto-Light, "Segoe UI", Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  margin: 0;
  color: var(--text);
  font: 20px/1.25 var(--font);
  text-align: justify;
  background: #fff;
}

img { max-width: 100%; height: auto; vertical-align: middle; }
a { color: inherit; outline: none; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1.25em; }

h2 {
  margin: 0 0 1em;
  font: bold 30px/1.35 var(--font);
  text-align: left;
}

.accent { color: var(--accent); font-weight: bold; }
.stream { color: var(--stream); font-weight: bold; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 200;
  font-size: 14px;
  text-transform: uppercase;
  background: #fff;
}

.header-inner { position: relative; background: #fff; }

.site-title {
  position: absolute;
  z-index: 2;
  margin: 29px 20px 10px 30px;
}

.site-title a { text-decoration: none; }
.site-title img { display: block; width: 288px; }

.main-nav {
  height: var(--nav-h);
  background: #fff;
  font-weight: bold;
}

.main-nav ul {
  display: flex;
  justify-content: flex-end;
  gap: 25px;
  margin: 0 25px 0 0;
  padding: 37px 0 0;
}

.main-nav a {
  display: block;
  line-height: 34px;
  color: var(--muted);
  text-decoration: none;
}

.main-nav a:hover { color: var(--hover); }
.main-nav .is-active a { color: #000; }

.nav-border {
  position: absolute;
  left: 0;
  top: 86px;
  width: 100%;
  height: 32px;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
  background: url("../img/header-border.png") repeat-x 0 0;
}

#main { padding-top: var(--nav-h); }

.band { background: #fff; }

.band article {
  width: min(100%, var(--content));
  margin: 0 auto;
  padding: 30px 0 50px;
}

.img-full img {
  display: block;
  width: 100%;
}

.cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.col li {
  background: url("../img/bullet.png") no-repeat 0 7px;
  padding: 0 0 16px 18px;
}

#company p { margin-bottom: 40px; }
#services { background: #fefefe; }

#products article,
#product-gallery,
#products-oil,
#products-plastics,
#contact article,
#locations article {
  letter-spacing: 0.06em;
}

.flash-map,
.flash-map embed,
.flash-map ruffle-player {
  display: block;
  width: 100%;
  min-height: 560px;
  height: 560px;
  border: 0;
  background: #fff;
}

#locations .world-strip {
  display: block;
  width: 100%;
  max-height: 220px;
  object-fit: cover;
}

#locations article ul { margin-top: 20px; }
#locations article li {
  background: url("../img/bullet.png") no-repeat 0 7px;
  padding: 0 0 16px 18px;
}

#contact .col p { margin-bottom: 16px; }
#contact a { color: var(--link); text-decoration: none; }
#contact a:hover { color: inherit; }

.directions {
  list-style: disc;
  margin: 0 0 20px 20px;
}

.directions li {
  background: none;
  padding: 0 0 6px;
}

.directions .heading {
  list-style: none;
  margin: 16px 0 8px -20px;
  font-weight: bold;
}

.site-footer {
  padding: 40px 0 50px;
  text-align: center;
}

.site-footer p { margin: 0; }

.map-frame {
  width: 100%;
  height: 500px;
  border: 0;
}

@media (max-width: 980px) {
  :root { --nav-h: 160px; }

  .site-title {
    position: static;
    margin: 12px 16px;
  }

  .site-title img { max-width: 220px; }

  .main-nav {
    height: auto;
    background: #fff;
  }

  .main-nav ul {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px 14px;
    margin: 0 12px 12px;
    padding: 0;
  }

  .main-nav a { line-height: 28px; }
  .nav-border { display: none; }

  .band article { padding: 30px 20px 50px; }
  .cols { grid-template-columns: 1fr; gap: 0; }

  .flash-map,
  .flash-map embed,
  .flash-map ruffle-player {
    min-height: 360px;
    height: 360px;
  }
}
