@font-face {
  font-family: "Optima";
  font-weight: 700;
  font-style: normal;
  src: url(optima-bold.woff2) format("woff2");
}

@font-face {
  font-family: "Roboto Condensed";
  font-weight: 100 900;
  font-style: normal;
  src: url(roboto-condensed.woff2) format("woff2");
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Roboto Condensed", "Roboto Narrow", Roboto, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  background: #fff url(bg-stripes.gif) repeat;
  padding: 20px;
}

.page {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 10px;
  border: 1px solid #333;
  background: #fff;
}

.top-links {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  padding: 12px 0 5px;
}

.top-links a {
  color: #0099ff;
  text-decoration: none;
  font-size: 14px;
}

.top-links a:hover { text-decoration: underline; }

.top-links a::before,
.mobile-menu a.secondary::before {
  content: "\276F";
  display: inline-block;
  color: #ff9900;
  font-weight: 900;
  font-size: 12px;
  margin-right: 6px;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 5px 0 12px;
  border-bottom: 1px solid #ccc;
}

.logo-link { display: block; flex: 0 0 auto; }
.logo { height: 45px; width: auto; max-width: 100%; display: block; }

.main-nav { display: flex; gap: 28px; }

.main-nav a {
  font-family: "Optima", Candara, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 14px;
  color: #243856;
  text-decoration: none;
}

.main-nav a:hover { color: #0099ff; }

.main-nav a::after {
  content: "\276F";
  display: inline-block;
  transform: rotate(90deg);
  color: #ff9900;
  font-weight: 900;
  font-size: 12px;
  margin-left: 7px;
  vertical-align: 1px;
}

.nav-item { position: relative; }
.nav-drop {
  display: none;
  position: absolute;
  z-index: 20;
  top: 100%;
  left: -14px;
  min-width: 230px;
  padding-top: 10px;
}
.nav-item:hover .nav-drop,
.nav-item:focus-within .nav-drop { display: block; }
.nav-drop-inner { padding: 10px 14px; background: #243856; box-shadow: 0 5px 12px rgba(0,0,0,.18); }
.nav-drop a { display: block; padding: 7px 0; color: #fff; font-size: 13px; white-space: nowrap; }
.nav-drop a::after { display: none; }

main { padding: 36px 0; }
h1 { font-size: 26px; color: #243856; margin-bottom: 16px; }
h2 { font-size: 20px; color: #243856; margin: 0 0 12px; }
p { margin-bottom: 12px; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 42px;
  height: 36px;
  padding: 0 10px;
  background: #fff;
  border: 1px solid #ccc;
  cursor: pointer;
}
.hamburger span { display: block; width: 20px; height: 3px; background: #243856; }
.hamburger:hover { box-shadow: inset 1px 2px 4px rgba(0,0,0,.18); }

.mobile-menu {
  display: none;
  background: #243856;
  padding: 18px 22px;
  margin-top: 10px;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  color: #fff;
  text-decoration: none;
  font-family: "Optima", Candara, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 16px;
  padding: 10px 0;
}
.mobile-menu a:hover { color: #0099ff; }
.mobile-menu .menu-divider { border: 0; border-top: 1px solid rgba(255,255,255,.25); margin: 10px 0; }
.mobile-menu a.secondary {
  font-family: "Roboto Condensed", "Roboto Narrow", Roboto, Arial, sans-serif;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  font-size: 14px;
  padding: 7px 0;
}

footer { border-top: 3px solid #ff9900; margin: 28px 0 0; padding-top: 4px; }
.footer-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  background: #243856;
  color: #fff;
  padding: 18px 24px;
  font-size: 13px;
  margin-top: 24px;
}
.footer-bar .optima { font-size: 14px; letter-spacing: .14em; }
.footer-bar .contact { text-align: right; }
.footer-bar a { color: #fff; text-decoration: none; }
.footer-bar a:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .main-nav { gap: 16px; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .main-nav, .top-links { display: none; }
}

@media (min-width: 769px) {
  .mobile-menu { display: none !important; }
}

@media (max-width: 640px) {
  body { padding: 12px 8px; }
  .page { padding: 8px; }
  header { gap: 12px; }
  .logo { height: 38px; }
  .footer-bar { padding: 16px; }
  .footer-bar .contact { text-align: left; }
}
