/* pull consulting: static rebuild of the 2009 Flash page (pull.swf, 604 x 528 px).
   Desktop: every element sits where the Flash movie drew it, measured from the movie itself.
   Phones (under 620 px): the same pieces stacked in one column. */

@font-face {
  font-family: "Fira Sans Condensed";
  src: url("../fonts/fira-sans-condensed-light-latin.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

:root {
  --text: #666666;
  --light: #b8b8b8;
  --accent: #fdbf6f;
  --rule: #000000;
  --small: 14.45px;
  --big: 17.85px;
  --step: 17.6px;
}

html {
  background: #ffffff;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 8px;
  background: #ffffff;
  color: var(--text);
  font-family: "Fira Sans Condensed", "Arial Narrow", Arial, sans-serif;
  font-weight: 300;
  font-size: var(--small);
  line-height: var(--step);
  font-feature-settings: "onum" 1, "tnum" 1;
  font-variant-numeric: oldstyle-nums tabular-nums;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible {
  outline: 1px dotted var(--text);
  outline-offset: 2px;
}

.card {
  position: relative;
  width: 604px;
  height: 528px;
}

.logo {
  position: absolute;
  left: 0;
  top: 0;
  margin: 0;
  line-height: 0;
}

.logo img {
  display: block;
  width: 322px;
  height: 128px;
}

.rule {
  position: absolute;
  left: 373px;
  top: 0;
  width: 1px;
  height: 528px;
  background: var(--rule);
}

.contact {
  font-style: normal;
}

.person,
.company {
  position: absolute;
  left: 428px;
  margin: 0;
}

.person {
  top: 283.5px;
}

.company {
  top: 396.2px;
}

.line {
  display: block;
  white-space: nowrap;
}

/* the small lines sit 1 px lower in their 17.6 px step than the big ones (Flash baselines) */
.line:not(.big) {
  position: relative;
  top: 1px;
}

.big {
  font-size: var(--big);
}

.accent {
  color: var(--accent);
}

.light {
  color: var(--light);
}

.gap {
  margin-top: var(--step);
}

@media (max-width: 619px) {
  :root {
    --small: 16px;
    --big: 19.75px;
    --step: 20px;
  }

  body {
    margin: 0;
  }

  .card {
    width: auto;
    height: auto;
    padding: 24px 16px 32px;
  }

  .logo,
  .rule,
  .person,
  .company,
  .line:not(.big) {
    position: static;
  }

  .logo img {
    width: 100%;
    max-width: 322px;
    height: auto;
  }

  .rule {
    width: auto;
    height: 1px;
    margin: 24px 0 28px;
  }

  .person {
    display: block;
  }

  .company {
    margin-top: 32px;
  }
}
