*, *::before, *::after { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  font-family: 'Raleway', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: #8e8e8e;
  background: #fff;
}

a { color: #5199a8; }
a:hover { color: #8dc7d3; }

.container { max-width: 960px; margin: 0 auto; padding: 4em 1.6em; }

/* Header */
.site-header { padding: 45px 1.6em 40px; text-align: center; }
.site-title {
  display: inline-block;
  font-family: 'Raleway', sans-serif;
  font-weight: 500;
  font-size: 36px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #484848;
  text-decoration: none;
  margin-bottom: 22px;
}
.site-title:hover { color: #484848; }

.site-nav {
  max-width: 960px; margin: 0 auto;
  display: flex; align-items: center; gap: 14px;
}
.site-nav::before, .site-nav::after {
  content: ""; flex: 1; border-top: 1px solid #d0d0d0;
}
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.site-nav a {
  display: block; padding: 8px 14px;
  font-size: 13px; text-transform: uppercase; text-decoration: none;
  color: #8e8e8e;
}
.site-nav a:hover, .site-nav a.active { background: #f6f6f6; color: #484848; }

/* Banner */
.banner {
  background: #000 url('images/banner.jpg') center center / auto 380px no-repeat;
  height: 380px;
}
.banner.short { height: 300px; }

/* Typography */
h2 {
  font-family: 'Lora', serif;
  font-weight: 400;
  color: #484848;
  line-height: 1.3;
}
h2.section-title { text-align: center; font-size: 26px; margin: 0 0 1.4em; }
h2.paragraph-title { font-size: 32px; margin: 0 0 6px; }
.sign-up h2.paragraph-title { font-size: 26px; }
p { margin: 0 0 1.4em; }
strong { color: #8e8e8e; font-weight: 600; }

/* Columns */
.row { display: flex; gap: 40px; align-items: flex-start; }
.row > .col { flex: 1 1 0; min-width: 0; }
.row img { width: 100%; height: auto; display: block; }

hr.divider { border: 0; border-top: 1px solid #d0d0d0; margin: 3em 0; }

.video { position: relative; padding-top: 56.25%; max-width: 800px; margin: 0 auto; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Form */
.req { color: #ef5350; }
.form-note { font-style: italic; margin: 0 0 4px; }
.form-field { margin-bottom: 14px; }
.form-field > label, .field-label { display: block; margin-bottom: 6px; color: #8e8e8e; }
.name-row { display: flex; gap: 20px; }
.name-row .first { width: 160px; }
.name-row .last { width: 220px; }
.sublabel { display: block; font-size: 11px; margin-top: 6px; }
input[type=text], input[type=email], textarea {
  width: 100%; padding: 7px 8px;
  font-family: 'Raleway', sans-serif; font-size: 13px; color: #484848;
  border: 1px solid #ccc; border-radius: 0; background: #fff;
}
input::placeholder { color: #999; }
.wide { max-width: 370px; }
textarea { height: 100px; resize: vertical; display: block; }
.hp { position: absolute; left: -9999px; }
button {
  font-family: 'Raleway', sans-serif; font-size: 15px;
  padding: 8px 20px; margin-top: 8px; cursor: pointer;
  background: #5199a8; color: #fff; border: 0; border-radius: 0;
}
button:hover { background: #5cb0c2; }
button:active { background: #44818e; }
.notice { padding: 14px 16px; margin-bottom: 20px; color: #484848; }
.notice.ok { background: #eef6f8; border: 1px solid #b9dbe2; }
.notice.err { background: #fbeeee; border: 1px solid #e5b5b5; }

/* Footer */
.site-footer { text-align: center; font-size: 14px; padding: 0 1.6em 3em; }
.site-footer p { margin: 0 0 8px; }

@media (max-width: 760px) {
  .row { flex-direction: column; gap: 24px; }
  .banner, .banner.short { height: 200px; background-size: auto 100%; }
  .name-row .first, .name-row .last { width: 100%; }
  .site-title { font-size: 28px; }
}
