/* Static copy of the Wix site www.formulativetech.com.
   The Wix page is a fixed 980px column centred in full-width strips; positions below
   are taken from the live page (x relative to the column, y relative to the strip). */

@font-face { font-family: "FT Heading"; src: url(../fonts/barlow-condensed-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "FT Text"; src: url(../fonts/roboto.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "FT Text"; src: url(../fonts/roboto-italic.woff2) format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "FT Futura"; src: url(../fonts/jost.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "FT Anton"; src: url(../fonts/anton.woff2) format("woff2"); size-adjust: 80%; font-display: swap; }
@font-face { font-family: "FT Proxima"; src: url(../fonts/nunito-sans.woff2) format("woff2"); size-adjust: 97%; font-weight: 200 1000; font-display: swap; }

:root {
  --navy: rgb(8, 4, 66);
  --yellow: rgb(252, 228, 18);
  --dark: rgb(40, 40, 40);
  --grey: rgb(150, 150, 150);
  --heading: rgb(77, 77, 77);
  --slate: rgb(55, 59, 77);
  --heading-font: "FT Heading", "Arial Narrow", sans-serif;
  --text-font: "FT Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-width: 980px;
  background: #fff;
  color: var(--dark);
  font: 300 16px/1.25 var(--text-font);
  overflow-x: hidden;
}
body.bg-light { background: rgb(245, 245, 245); }
a { color: inherit; text-decoration: none; }
img { display: block; }
h1, h2, h3, p, ul { margin: 0; font-weight: inherit; }

.abs { position: absolute; }
.strip { position: relative; z-index: 0; width: 100%; }
.col { position: relative; width: 980px; height: 100%; margin: 0 auto; }

/* Thin navy bar of the Wix header */
.topbar { position: absolute; top: 0; left: 0; right: 0; height: 6px; background: var(--navy); z-index: 20; }

/* Yellow vertical connector lines */
.vline { position: absolute; width: 5px; border-left: 5px solid var(--yellow); z-index: 10; }

/* Section titles: small grey word + large word */
.kicker { font: 500 24px/28px var(--heading-font); letter-spacing: 1.2px; color: var(--grey); white-space: nowrap; }
.kicker.light { color: rgb(204, 204, 204); }
.big { font: 500 60px/71px var(--heading-font); color: var(--heading); white-space: nowrap; }

/* ---------- Footer ---------- */
.footer { height: 275px; background: var(--dark); }
.footer .vline { left: 504px; top: -128px; height: 191px; }
.footer .copy { left: 0; right: 0; top: 136px; text-align: center; font: 300 18px/23px var(--text-font); color: var(--grey); }
.footer .to-top { left: 890px; top: 177px; width: 44px; height: 41px; }
.footer .to-top svg { width: 44px; height: 41px; fill: var(--yellow); transform: rotate(180deg); }

/* ---------- Home ---------- */
.hero { height: 556px; overflow: hidden; background: #4a4ab8; }
.hero > img { position: absolute; left: 0; top: 0; width: 100%; height: 900px; object-fit: cover; }
.hero .hline { top: 308px; width: 164px; border-top: 1px solid #fff; }
.hero .logo-box { left: 369px; top: 245px; width: 262px; height: 139px; background: #fff; border-radius: 10px; }
.hero .logo-box img { position: absolute; left: 30px; top: 18px; width: 211px; height: 90px; }

.careers-head { height: 253px; background: #fff; }
.careers-head .vline { left: 507px; top: -42px; height: 342px; }
.careers-strip { height: 410px; background: rgb(36, 35, 35); }
.careers-strip > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.careers-strip .glass { left: 218px; top: 48px; width: 575px; height: 308px; background: rgba(255, 255, 255, 0.36); }
.job-card { top: 68px; width: 252px; height: 270px; border: 2px solid rgba(230, 230, 230, 0.46); }
.job-card .inner { position: absolute; left: 0; top: 0; right: 0; height: 268px; background: #fff; padding: 28px 24px 0; }
.job-card h2 { font: 500 28px/33px var(--heading-font); color: var(--dark); margin-bottom: 10px; }
.job-card p {
  font: 300 18px/27px var(--text-font); color: var(--dark);
  display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden;
}

.contact-head { height: 247px; background: #fff; z-index: 2; }
.contact-head .vline { left: 506px; top: -38px; height: 376px; }

.office { height: 779px; background: rgb(245, 245, 245); }
.office h2 { left: 202px; top: 113px; font: 500 45px/53px var(--heading-font); color: var(--heading); white-space: nowrap; }
.office address { left: 222px; top: 172px; font: 300 18px/23px var(--text-font); color: var(--grey); font-style: normal; }
.office .addr-bar { left: 205px; top: 175px; width: 6px; height: 61px; background: rgb(66, 66, 66); }
.office .or { left: 488px; top: 266px; width: 26px; text-align: center; font: 400 18px/23px var(--text-font); color: #000; }
.office .or-line { top: 276px; width: 259px; border-top: 1px solid rgb(79, 79, 79); }
.office label { font: italic 400 14px/14px var(--text-font); color: var(--slate); }
.office input, .office textarea {
  position: absolute; border: 2px solid var(--slate); background: #fff; border-radius: 0;
  font: 400 14px var(--text-font); color: var(--slate); padding: 3px 10px; outline: none;
}
.office textarea { resize: none; padding-top: 8px; }
.office button {
  position: absolute; left: 202px; top: 533px; width: 600px; height: 51px; border: 0;
  background: var(--slate); color: #fff; font: 400 14px/20px var(--text-font); cursor: pointer;
}
.office button:hover { background: rgb(79, 84, 107); }
.office .form-status { left: 202px; top: 596px; width: 600px; text-align: center; }

/* ---------- Services ---------- */
.svc-head { height: 246px; }
.svc-head .vline { left: 488px; top: 70px; height: 239px; }
.svc-video { height: 366px; overflow: hidden; background: var(--navy); }
.svc-video video, .svc-video .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc-video .tint { position: absolute; inset: 0; background: rgba(8, 4, 66, 0.43); }
.svc-video .pattern { position: absolute; inset: 0; background: url(../img/pattern.png) repeat; background-size: 6px 6px; }
.svc-video .claim {
  left: 0; right: 0; top: 105px; text-align: center; color: #fff;
  font: 300 36px/48px "FT Futura", Futura, sans-serif; letter-spacing: 1.8px;
}
.svc-video .claim em { font-style: normal; color: var(--yellow); }
.svc-video .claim, .svc-video .sub { -webkit-text-stroke: 0.4px currentColor; }
.svc-video .dash { left: 469px; top: 179px; width: 42px; border-top: 3px solid #fff; }
.svc-video .sub { left: 0; right: 0; top: 209px; text-align: center; color: #fff; font: 300 22px/30px "FT Futura", Futura, sans-serif; }
.offer-head { height: 211px; z-index: 2; }
.offer-head .vline { left: 487px; top: -50px; height: 239px; }
.offer { height: 338px; }
.offer img { left: 21px; top: 24px; width: 484px; height: 293px; object-fit: cover; }
.offer h3 { left: 550px; top: 26px; font: 400 22px/27px Impact, "FT Anton", sans-serif; letter-spacing: 2.2px; color: rgb(51, 51, 51); white-space: nowrap; }
.offer .txt { left: 550px; top: 98px; width: 408px; font: 300 16px/20px var(--text-font); color: var(--grey); }
.offer .txt p + p { margin-top: 20px; }
.offer .txt.proxima { top: 101px; width: 401px; font: 400 16px/24px "FT Proxima", sans-serif; color: rgb(84, 84, 84); }
.svc-more { height: 171px; }
.btn-yellow {
  display: block; position: absolute; background: var(--yellow); color: #000; text-align: center;
  font: 500 24px/40px var(--heading-font); letter-spacing: 2.4px;
}
.svc-more .btn-yellow { left: 419px; top: 24px; width: 142px; height: 40px; }

/* ---------- Careers (blog) ---------- */
.careers-page { height: 619px; }
.careers-page h1 { left: 1px; top: 33px; font: 500 60px/71px var(--heading-font); color: var(--heading); white-space: nowrap; }
.post-card { display: block; left: 21px; width: 940px; height: 201px; border: 1px solid rgba(230, 230, 230, 0.75); background: #fff; padding: 29px 48px 0; }
.post-card h2 { font: 500 28px/39.2px var(--heading-font); color: var(--dark); margin-bottom: 11px; }
.post-card p { font: 300 16px/24px var(--text-font); color: var(--dark); }
.post-card:hover h2 { text-decoration: underline; }

/* ---------- Contact ---------- */
.contact-top { height: 292px; }
.contact-top .vline { left: 487px; top: 66px; height: 357px; }
.contact-band { height: 745px; background: var(--navy); }
.contact-band .lets { left: 6px; top: 193px; font: 500 24px/28px var(--heading-font); letter-spacing: 1.2px; color: #fff; white-space: nowrap; }
.contact-band .intro { left: 6px; top: 244px; width: 300px; font: 300 16px/25.6px var(--text-font); letter-spacing: 0.8px; color: #fff; }
.contact-band input, .contact-band textarea {
  position: absolute; left: 371px; width: 608px; height: 40px; border: 4px solid var(--grey); border-radius: 0;
  background: transparent; color: #fff; font: 300 16px var(--text-font); padding: 3px 12px; outline: none;
}
.contact-band textarea { height: 177px; padding-top: 12px; resize: none; }
.contact-band input::placeholder, .contact-band textarea::placeholder { color: var(--grey); opacity: 1; }
.contact-band input:focus, .contact-band textarea:focus { border-color: #fff; }
.contact-band button {
  position: absolute; left: 823px; top: 627px; width: 156px; height: 40px; border: 0; cursor: pointer;
  background: var(--yellow); color: var(--navy); font: 500 20px/28px var(--heading-font);
}
.contact-band .form-status { left: 371px; top: 680px; width: 608px; text-align: right; color: #fff; }
.contact-more { height: 455px; }
.contact-more .details { left: 335px; top: 116px; width: 320px; color: var(--grey); font: 300 16px/20px var(--text-font); }
.contact-more .details h2 { font: 700 22px/28px var(--text-font); }

/* ---------- Job posts ---------- */
.post-wrap { padding: 26px 0 20px; }
.post {
  width: 940px; margin: 0 auto; border: 1px solid rgba(230, 230, 230, 0.75); background: #fff;
  padding: 78px 100px 60px; font: 300 18px/27px var(--text-font); color: var(--dark);
}
.post h1 { font: 500 40px/50px var(--heading-font); margin-bottom: 22px; }
.post p { margin-bottom: 27px; }
.post p.lead-muted { color: rgb(79, 79, 79); }
.post strong { font-weight: 500; display: block; }
.post ul { padding-left: 36px; margin-bottom: 27px; }
.post .apply {
  display: inline-block; margin-top: 2px; padding: 12px 18px; border-radius: 4px;
  color: #fff; font: 300 14px/21px var(--text-font);
}
.post .apply:hover { filter: brightness(1.08); }

/* ---------- Form status / misc ---------- */
.form-status { font: 400 14px/20px var(--text-font); min-height: 20px; }
.form-status.ok { color: rgb(30, 140, 60); }
.form-status.err { color: rgb(200, 30, 30); }
.contact-band .form-status.ok { color: var(--yellow); }
.contact-band .form-status.err { color: #ff8a8a; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

.notfound { height: 520px; }
.notfound h1 { left: 0; right: 0; top: 150px; text-align: center; font: 500 60px/71px var(--heading-font); color: var(--heading); }
.notfound p { left: 0; right: 0; top: 240px; text-align: center; font: 300 18px/27px var(--text-font); color: var(--grey); }
.notfound p a { color: var(--slate); text-decoration: underline; }

/* Barlow Condensed runs ~4% wider than the Wix DIN font: tighten the large headings */
.big, .office h2, .job-card h2, .post-card h2, .careers-page h1, .post h1 { letter-spacing: -0.025em; }
