@font-face { font-family: markpro; src: url('assets/fonts/markpro.otf'); font-display: swap; }
@font-face { font-family: markpro-black; src: url('assets/fonts/markpro-black.otf'); font-display: swap; }

:root {
  --blue: #0f539d;
  --blue-dark: #205293;
  --blue-light: #5586c4;
  --blue-hover: #136ccc;
  --ink: #111;
  --muted: #868e96;
  --line: #e9ecef;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: markpro, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--ink);
  line-height: 1.6;
}

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 820px; }

/* top bar + header */
.wl-bar {
  position: fixed; top: 0; left: 0; width: 100%; height: 32px; z-index: 999;
  background: var(--blue); color: #fff; font-size: 14px; line-height: 30px;
  text-align: right; padding-right: 20px;
}
.wl-bar a { color: #fff; display: inline-block; padding: 0 10px; text-decoration: none; border-bottom: 1px solid transparent; }
.wl-bar a:hover { text-decoration: underline; }
.wl-bar a.current-link { font-weight: bold; border-bottom-color: #fff; }

header.top {
  position: fixed; top: 32px; left: 0; right: 0; height: 70px; z-index: 99;
  display: flex; align-items: center; justify-content: space-between; padding: 0 30px;
  background: transparent;
}
header.top.solid { background: var(--blue); box-shadow: 0 1px 2px rgba(0, 0, 0, .15); }
header.top { transition: background .4s; }
header.top .logo img { height: 28px; width: auto; display: block; }
header.top nav a {
  color: #fff; text-decoration: none; text-transform: uppercase; font-size: 14px;
  margin: 0 14px; padding-bottom: 4px; border-bottom: 2px solid transparent;
}
header.top nav a:hover { border-bottom-color: #fff; }
.social { list-style: none; display: flex; gap: 16px; margin: 0; padding: 0; }
.social svg { width: 18px; height: 18px; fill: #fff; display: block; }

/* splash */
.splash {
  position: relative; height: 100vh; min-height: 600px; overflow: hidden;
  background: #747366 url('assets/home-about.jpg') center / cover no-repeat;
  text-align: center; color: #fff;
}
.splash::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .4); z-index: 1; }
.video-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.video-bg iframe {
  position: absolute; top: 50%; left: 50%; border: 0; pointer-events: none;
  width: max(100vw, 177.78vh); height: max(100vh, 56.25vw);
  transform: translate(-50%, -50%);
}
.splash-inner {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 100px 20px 60px;
}
.splash h1 { font-family: markpro; text-transform: uppercase; font-weight: normal; font-size: 24px; letter-spacing: .04em; margin: 20px 0 0; }

.btn-pill {
  display: inline-block; height: 50px; padding: 14px 30px; border: 0; border-radius: 25px;
  background: var(--blue); color: #fff; font: inherit; font-family: markpro; text-transform: uppercase;
  font-size: 18px; line-height: 21px; text-decoration: none; cursor: pointer; transition: all .5s;
}
.btn-pill:hover { background: var(--blue-hover); }
.btn-pill[disabled] { opacity: .6; cursor: default; }
.splash .btn-pill { position: absolute; top: 90%; left: 50%; transform: translateX(-50%); min-width: 240px; }

/* about */
.about { padding: 90px 0 70px; }
h2 { font-family: markpro-black; text-transform: uppercase; color: var(--blue); font-size: 2rem; margin: 0 0 20px; }
.about h2 { font-family: markpro; text-transform: none; color: #231f20; font-size: 32px; margin: 16px 0 0; padding-bottom: 20px; }
.about p { font-size: 16px; }
.strapline { font: 24px/1.3 markpro; text-transform: uppercase; letter-spacing: .04em; color: var(--blue); text-align: center; margin: 0 0 64px; }
.about-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: center; }
.fancy { text-align: right; }
.fancy .the-img { text-align: left; }
.fancy .the-img img { width: 90%; height: auto; display: block; }
.fancy .the-description {
  display: inline-block; position: relative; width: 75%; margin-top: -60px; padding: 20px 25px;
  background: var(--blue); color: #fff; text-align: left; box-shadow: 0 0 12px rgba(0, 0, 0, .3);
}
.fancy h5 { font: 13px/17px markpro-black; text-transform: uppercase; margin: 0 0 12px; }
.fancy .the-description p { font-size: 16px; line-height: 20px; margin: 0 0 15px; }
.fancy .the-description a { font-family: markpro-black; color: #fff; text-decoration: none; }
.fancy .the-description a:hover { text-decoration: underline; }
.accred { display: block; max-width: 100%; height: auto; margin: 64px auto 0; }

/* contact */
.contact { background-size: cover; background-position: center; color: #fff; padding: 90px 0; }
.contact h2 { color: #fff; margin-bottom: 4px; }
.kicker { text-transform: uppercase; letter-spacing: .05em; margin: 0 0 24px; }
.contact a { color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start; }
dt { font-family: markpro-black; text-transform: uppercase; margin-top: 22px; }
dd { margin: 2px 0 0; font-size: 1.1rem; }

.form-card { background: #fff; color: var(--ink); border-radius: 6px; padding: 28px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: block; font-size: .9rem; font-weight: 600; margin-bottom: 14px; }
input, textarea {
  display: block; width: 100%; margin-top: 4px; padding: 10px 12px;
  font: inherit; border: 1px solid #ced4da; border-radius: 4px;
}
input:focus, textarea:focus { outline: 2px solid var(--blue-light); border-color: var(--blue-light); }
.privacy { font-size: .8rem; color: var(--muted); margin: 0 0 14px; }
.status { margin: 14px 0 0; font-weight: 600; }
.status.ok { color: #28a745; }
.status.err { color: #dc3545; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* footer */
footer { background: var(--blue); color: #fff; padding: 50px 0 40px; font-size: .9rem; }
footer p { margin: 0; opacity: .85; }
footer a { color: #fff; text-decoration: none; }
footer a:hover { text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 220px)); gap: 40px; margin-bottom: 36px; }
footer h5 { font: 14px markpro-black; text-transform: uppercase; margin: 0 0 12px; }
footer ul { list-style: none; margin: 0; padding: 0; }
footer li { margin-bottom: 6px; }

/* sub-pages (policies etc.) */
.subpage header.top { background: var(--blue); }
.page-title { background: var(--blue-dark); color: #fff; padding: 150px 0 40px; }
.page-title h1 { font: 2.2rem/1.2 markpro-black; text-transform: uppercase; margin: 0; }
.content { padding-top: 40px; padding-bottom: 80px; }
.content h2 { font-size: 1.5rem; margin: 36px 0 12px; }
.content h3 { font: 1.25rem/1.3 markpro-black; color: var(--blue); margin: 28px 0 10px; }
.content h4 { font: 1.05rem/1.3 markpro-black; margin: 22px 0 8px; }
.content h5, .content h6 { font-family: markpro-black; margin: 18px 0 6px; }
.content p, .content li { font-size: 1rem; }
.content ul, .content ol { padding-left: 1.4em; }
.content a { color: var(--blue); }
.content table { border-collapse: collapse; width: 100%; margin: 16px 0; }
.content th, .content td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.content blockquote { margin: 28px 0; padding: 6px 0 6px 22px; border-left: 4px solid var(--blue); font-size: 1.2rem; font-style: italic; }
.content blockquote footer { background: none; padding: 0; font-size: .95rem; font-style: normal; color: var(--muted); }
.content .video { position: relative; padding-bottom: 56.25%; height: 0; margin: 24px 0; }
.content .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

@media (max-width: 760px) {
  .contact-grid, .row, .about-grid { grid-template-columns: 1fr; gap: 0; }
  .about-grid { gap: 40px; }
  .foot-grid { grid-template-columns: 1fr; gap: 24px; }
  .page-title { padding-top: 130px; }
  .contact-grid { gap: 32px; }
  header.top { padding: 0 16px; }
  header.top nav { display: none; }
  .wl-bar { text-align: center; padding: 0; font-size: 12px; }
  .wl-bar span { display: none; }
  .strapline { font-size: 18px; margin-bottom: 40px; }
}
